export into text File

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • monadel
    New Member
    • Sep 2007
    • 17

    export into text File

    Hi guys,

    Does anyone can help how to export data into text file please.
    Any help will appreciate it.

    Thank you
  • FishVal
    Recognized Expert Specialist
    • Jun 2007
    • 2656

    #2
    DoCmd.TransferT ext

    Kind regards,
    Fish.

    Comment

    • monadel
      New Member
      • Sep 2007
      • 17

      #3
      I can export to text the data but I have to hard code the output file.
      like:
      file_name = "H:\txtFileName .txt"

      How do you set the output to a new .txt file ( just open a new one)?

      cheers

      Comment

      • FishVal
        Recognized Expert Specialist
        • Jun 2007
        • 2656

        #4
        So use variable instead of constant.

        Comment

        • NeoPa
          Recognized Expert Moderator MVP
          • Oct 2006
          • 32656

          #5
          It's hard to answer your question correctly if you don't ask it properly.
          Please try to write your questions clearly in future.

          Comment

          Working...