Please help - I'm using Microsoft Visual Basic 6.0 for Microsoft Access 2000 on Microsoft Windows XP Version 2002 with Service Pack 2. I'm using the following code:
DoCmd.TransferText acImportDelim, "", "AccessTableFile",
"P:\MainDirectory\SubDirectory\file.csv", 0
When I run this VBA code, I receive the following message:
Run-time error '3011':
The Microsoft Jet database engine could not find the object 'cover.csv'. Make sure the object exists and that you spell its name and the path name correctly.
Given the file name and path name are correct (I've checked several times!!!), what do I need to change in my coding to make it work? (I do not have field names in the first line of my csv file.)
Thank you for any and all help and advice,
TracySHC
DoCmd.TransferText acImportDelim, "", "AccessTableFile",
"P:\MainDirectory\SubDirectory\file.csv", 0
When I run this VBA code, I receive the following message:
Run-time error '3011':
The Microsoft Jet database engine could not find the object 'cover.csv'. Make sure the object exists and that you spell its name and the path name correctly.
Given the file name and path name are correct (I've checked several times!!!), what do I need to change in my coding to make it work? (I do not have field names in the first line of my csv file.)
Thank you for any and all help and advice,
TracySHC