TransferText

G

Guest

Hi,

I've got a problem using the DoCmd.TransferText method in trying to import
data from a .csv file into existing table. My line is as follows:

DoCmd.TransferText acImportDelim, , "Destination_TABLE",
"C:\sourcefile.csv",True

The data in the sourcefile is comma delimited. However, the system doesn't
seem to recognize that which can be seen from the error description. Can I
somehow specify in the TransferText method that the sourcefile is comma
delimited or is there any other way to get this done?

Best Regards,
Marko Utriainen
 
A

Alex Dybenko

Hi,
you can try to create import specification (just run import from menu file,
define one and save it) and then use this specification as a second argument
 

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