doCmd.TransferText parameters

M

MVL

I'm trying to export a query into a text file but cannot
find the VBA parameters for exporting a tab delimited
file.

This is what I have so far:

DoCmd.TransferText acExportDelim, ????, "qTransmission
TMC", filepath & filename
 
J

John Nurick

Hi MVL,

You need to create an export specification (to do so, export the query
manually and click the Advanced... button in the wizard) and pass its
name to TransferText.

Alternatively, create a SCHEMA.INI file in the export directory.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top