Question : create Pipe delimited output file from Access table

I would like to create a pipe delimited file from an access table using vb so that it can be apart of a scheduled job.  Since I'm using 2007, the other messages on Experts Exchange don't seem to apply.  Can anyone help?

Answer : create Pipe delimited output file from Access table

LenTompkins,

use the Text File in the Export toolbar under External Data tab
do not select Export data with formatting and layout
click ok
you will now see the Export Text Wizard
select Delimited click Next
select Other and type the Pipe |
Text qualifier, select None

Click Advanced to create the Export Spec
just follow the wizard and save the Export spec,
you can then use the saved export spec in the command line


DoCmd.TransferText acExportDelim, "exportspecName", "TableName", "c:\myText.txt", True

Random Solutions  
 
programming4us programming4us