exporting a table for a format txt

Ask a Question related to Microsoft Access, Design and Development.

  1. #1

    Default exporting a table for a format txt


    I need to create a form of exporting a table for a format txt. I know that
    can create a macro for that and tie I already did. Only that to macro
    already defines the name of the file destiny, while I need that the user has
    the option of typing the name of the file that will be generated by that
    export, Jan2003.txt, Balancete.txt, for instance. Do I imagine then that she
    can make that road some I modulate, once I found modules that copy or do
    they move files, why some not to exist to name? Like this, it could export
    the table with the fixed name for the same macro and to use that I modulate
    to name for the name that the user wanted.
    I know that that and a super task, but I believe that is not something
    impossible.
    I thank the attention


    Frank Dulk Guest

  2. Similar Questions and Discussions

    1. Exporting to HPGL/PLT format
      Is it possible to export Illustrator to HPGL/PLT format without going through coreldraw?
    2. Exporting compound paths to dxf format
      Our CAD team are pulling their hair out because every time I supply them with a DXF or DWG export from Illustrator CS, the compound paths disappear....
    3. exporting Adobe 6.0 to another format
      I have created a text editing (fill in the blanks) file using 6.0 pro. However, this file can not be filled in with Adobe reader 4.0. So, how do i...
    4. Exporting from PDF to MS Word format (.doc or RTF) ?
      Hi, I am using the Adode PDF Printer for converting the Word doc to PDF. I am using the code as Application.PrintOut FileName:="",...
    5. exporting to gif or jpeg format
      HI there, I am having a problem exporting designs that i have worked on using freehand to gif or jpeg format....some fo the effects completely...
  3. #2

    Default Re: exporting a table for a format txt

    Frank,
    This link has the code to allow the user to select the folder and file name:
    [url]http://www.mvps.org/access/api/api0001.htm[/url]

    --
    Allen Browne - Microsoft MVP. Perth, Western Australia.
    Tips for Access users - [url]http://allenbrowne.com/tips.html[/url]
    Reply to the newsgroup. (Email address has spurious "_SpamTrap")

    "Frank Dulk" <fdulk@bol.com.br> wrote in message
    news:OFOiYfhRDHA.1920@TK2MSFTNGP11.phx.gbl...
    >
    > I need to create a form of exporting a table for a format txt. I know that
    > can create a macro for that and tie I already did. Only that to macro
    > already defines the name of the file destiny, while I need that the user
    has
    > the option of typing the name of the file that will be generated by that
    > export, Jan2003.txt, Balancete.txt, for instance. Do I imagine then that
    she
    > can make that road some I modulate, once I found modules that copy or do
    > they move files, why some not to exist to name? Like this, it could export
    > the table with the fixed name for the same macro and to use that I
    modulate
    > to name for the name that the user wanted.
    > I know that that and a super task, but I believe that is not something
    > impossible.
    > I thank the attention

    Allen Browne Guest

  4. #3

    Default exporting a table for a format txt

    You need to know some VBA to solution this. The MS
    example is:
    DoCmd.OutputTo acOutputTable, "Employees",
    acFormatTXT, "C:\Employee.txt", True

    this exports the table Employees to text file called
    Employee.txt to the root of the C drive. You can
    dynamically create the file name and path for the export
    but you have to undestand VBA to gether the values from
    the user and then concatenate these values to create the
    file name and path.

    the True statement at the end of this code opens the newly
    created file

    >-----Original Message-----
    >
    >I need to create a form of exporting a table for a format
    txt. I know that
    >can create a macro for that and tie I already did. Only
    that to macro
    >already defines the name of the file destiny, while I
    need that the user has
    >the option of typing the name of the file that will be
    generated by that
    >export, Jan2003.txt, Balancete.txt, for instance. Do I
    imagine then that she
    >can make that road some I modulate, once I found modules
    that copy or do
    >they move files, why some not to exist to name? Like
    this, it could export
    >the table with the fixed name for the same macro and to
    use that I modulate
    >to name for the name that the user wanted.
    >I know that that and a super task, but I believe that is
    not something
    >impossible.
    >I thank the attention
    >
    >
    >.
    >
    Bish Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139