Connecting Tech Pros Worldwide Forums | Help | Site Map

Access Export

Newbie
 
Join Date: Jun 2006
Posts: 3
#1: Jun 7 '06
Am geeting compile error: Expected: = on the following code:

DoCmd.TransferText([TransferType As AcTextTransferType = acExportDelim],["exportraw"],[strTable],[FileName],[True],[ ],[ ])

Any ideas?

Member
 
Join Date: May 2006
Location: Winter Haven, FL
Posts: 70
#2: Jun 12 '06

re: Access Export


Do you have an export specification built?
Newbie
 
Join Date: Jun 2006
Posts: 3
#3: Jun 19 '06

re: Access Export


wlc04 can you please clarify that?
Member
 
Join Date: May 2006
Location: Winter Haven, FL
Posts: 70
#4: Jun 20 '06

re: Access Export


If you manually export the data to a text file you are prompted for several parameters.
When you reach the last parameter (you will specify the export path) choose the Advanced button and then choose Save As and it will give you a default specification name (you can rename whatever you want). This specification is saved and can be used in macros and modules so that access knows how you want the file to look when it's exported.
Reply