Hy,
I need to import a CSV file with a ";" delimited and name field in the first row.
I need to control the name of the field that are in the first row.
If I import with
DoCmd.TransferText acImportDelim, , "tempLISTA", sCSVFile, True
the file:
----
RAGSOC1;RAGSOC2;INDIRIZZO;CAP;CITTA;PROV;PAESE;
PEDRAZZI SPA;;VIA ROMA, 24;00100;ROMA;RM;ITALIA;
----
I didn't obtain a table with the field right because the import without specification name is not drived by ";"
I obtain a table with a first field called RAGSOC1;RAGSOC2;INDIRIZZO;CAP;CITTA;PROV;PAESE;CAMPO1;CAMPO2;CAM
Is possible to set the ";" by default for the acImportDelim without a specification name ?
thank you
and bye
Enrico
I need to import a CSV file with a ";" delimited and name field in the first row.
I need to control the name of the field that are in the first row.
If I import with
DoCmd.TransferText acImportDelim, , "tempLISTA", sCSVFile, True
the file:
----
RAGSOC1;RAGSOC2;INDIRIZZO;CAP;CITTA;PROV;PAESE;
PEDRAZZI SPA;;VIA ROMA, 24;00100;ROMA;RM;ITALIA;
----
I didn't obtain a table with the field right because the import without specification name is not drived by ";"
I obtain a table with a first field called RAGSOC1;RAGSOC2;INDIRIZZO;CAP;CITTA;PROV;PAESE;CAMPO1;CAMPO2;CAM
Is possible to set the ";" by default for the acImportDelim without a specification name ?
thank you
and bye
Enrico