TransferText -- Error 3011 in Access 2003 but not Access 2002

W

WhiskyRomeo

The following line of code works perfectly in Access 2002 and is part of a
routine that creates 100's of files a day.

DoCmd.TransferText acExportDelim, "Subject Export Specification",
qdfExport.Name, strExportPath

strExportPath = "C:\ADP_26064233_SBJ.txt"

But in Access 2003 I get this error:

Error in Export Routine!3011
The Microsoft Jet database engine could not find the object
'ADP_26064233_SBJ.txt'. Make sure the object exists and that you spell its
name and the path name correctly.

**********************
I looked at the specs for this method and it is identical to Access 2002.
What I am missing?

WR
 

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

Similar Threads


Top