*.csv file import problem (1 Viewer)

Danielf

Registered User.
Local time
Today, 20:05
Joined
Feb 21, 2000
Messages
103
Hi,

I have a *.csv file with 7 fields delimited by 6 commas . The code to import the file in a table should be :

DoCmd.TransferText acImportDelim, , "abc", "c:\abc.csv".

The problem is that I can import my *.csv file but in my new table , I have only one field "F1" with all my data (with commas) in that field.

What is wrong? I would like to have 7 fields in my table, like in my csv file.

Thanks for answer.

Daniel
 

Geoff Codd

Registered User.
Local time
Today, 20:05
Joined
Mar 6, 2002
Messages
190
create an import specification and name that in you import code
 

Danielf

Registered User.
Local time
Today, 20:05
Joined
Feb 21, 2000
Messages
103
Thanks it works

Daniel
 

Users who are viewing this thread

Top Bottom