Suppose my CSV file forms a table like this:
COL_1,COL_2,COL_3
a,b,c
d,e,f
I want to import the csv file into the following table structure in MS Access:
COL_2 | COL_1 | COL_3
----------------------
b | a | c
e | d | f
----------------------
How can I create a specification in MS Access that would direct col 1 in the csv to 2nd column of the table structure in MS Access? (or interchange to any column i want)
I know I can do this by reading the file line by line and parsing the values and inserting the data to the fields i want but I was wondering if there is a better way using a specification file when i do DoCmd.TransferText.
Thanks.
COL_1,COL_2,COL_3
a,b,c
d,e,f
I want to import the csv file into the following table structure in MS Access:
COL_2 | COL_1 | COL_3
----------------------
b | a | c
e | d | f
----------------------
How can I create a specification in MS Access that would direct col 1 in the csv to 2nd column of the table structure in MS Access? (or interchange to any column i want)
I know I can do this by reading the file line by line and parsing the values and inserting the data to the fields i want but I was wondering if there is a better way using a specification file when i do DoCmd.TransferText.
Thanks.