dbTalk Databases Forums  

Slow Performances When Using Macro to Export Multiple Tables to Text Files

comp.databases.ms-access comp.databases.ms-access


Discuss Slow Performances When Using Macro to Export Multiple Tables to Text Files in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Aaron Rubinstein
 
Posts: n/a

Default Slow Performances When Using Macro to Export Multiple Tables to Text Files - 09-27-2011 , 08:00 PM






I have a database in Access 2007 with several large tables that I
regularly need to export to comma-delimited text files. I can right-
click each table and select Export > Text File, and then run the
Export Text Wizard, which works.

I am trying to automate this process using a single macro that will
export the tables, one after the other, to text files so that I do not
have to run the wizard for each file. I created the macro using the
"TransferText" action to export each table and it works, however it
seems to take significantly longer for the macro to process each file
than if I run the Export Text Wizard on each file individually. I
noticed that when I scaled back the macro so that it was only
exporting one table, the performance was fine, but when I added
addtitional "TransferText" actions to to the macro to process the
other files, each file took much longer to export.

Perhaps this is a memory issue? Does anyone have any ideas on how to
address this?

Thanks!

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.