Results 1 to 5 of 5
  1. #1
    accessmatt is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    199

    Advice on how to speed text file export

    Does anyone have any ideas how to make this query faster upon text file export? It works very fast when I run it in Access but takes forever when I try to export to text file?



    Code:
    SELECT [Target List].First_Nakey 2, [Target List].Last_Nakey 2, [Target List].city, [Target List].state, [Target List].zip, [Target List].TIER, [Target List].NO_SEE, [Target List].LOW_SEE, Union_ALL.[key 2 NUMBER], Union_ALL.[key 1 NUMBER], Union_ALL.[Vendor Unique Id], Union_ALL.PRODUCT, Union_ALL.Content, Union_ALL.[Content 2], Union_ALL.Date, Union_ALL.key 2TRIC, Union_ALL.Vendor, Union_ALL.Key
    FROM Union_ALL INNER JOIN [Target List] ON (Union_ALL.[key 1 NUMBER] = [Target List].key 1_NUM) or (Union_ALL.[key 2 NUMBER] = [Target List].key 2NUM);

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,527
    Are using TransferText?

  3. #3
    accessmatt is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    199
    ranman256, no I guess that's VBA huh? I was using right click > export. What's advantage and what's easiest way to implement it?

    Thanks

  4. #4
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,527
    it is not vba. it is a macro command

  5. #5
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    The TransferText method may be available from a Macro. However, it is a public member of the DoCmd class and, therefore, is available via VBA.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Settings To Improve Export Text Wizard Speed?
    By kestefon in forum Access
    Replies: 3
    Last Post: 06-25-2014, 03:57 PM
  2. Export Whole table to text file with UTF-8
    By Auto in forum Import/Export Data
    Replies: 3
    Last Post: 08-29-2013, 05:09 PM
  3. Get Export File name from Unbound Text Box
    By FinChase in forum Import/Export Data
    Replies: 1
    Last Post: 01-11-2012, 11:09 AM
  4. Replies: 1
    Last Post: 08-05-2011, 05:16 PM
  5. trying to export data to a text file
    By itm in forum Access
    Replies: 1
    Last Post: 06-30-2011, 10:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums