N
neerak via AccessMonster.com
I kept on receiving type conversion error while trying to programatically
import a csv file into an access table. I've read a lot of the posts saying
that it is caused by the mixed data type stored in the column and the
solution is to insert an additional row at the top of the file such that
access can determine the type of each column by reading the data in the first
row.
Now, my question is that column 3 and 4 in my csv file contains both numeric
and non-numeric data. I've tried to insert "ABC" and "ABC" into the first
line of column 3 and 4 respectively but the error still arise. I get stuck
in this problem for quite a while and i really hope some of you might have
encounter the same problem before and have already found a solution.
Another question is that the type conversion error problem does not occur if
i manually use the import function from get external data. Does it mean that
access use different methods to import data to access for the 2 approaches
such that the error only occurs when i tried to import the data
programatically? Any help will be much appreciated....
import a csv file into an access table. I've read a lot of the posts saying
that it is caused by the mixed data type stored in the column and the
solution is to insert an additional row at the top of the file such that
access can determine the type of each column by reading the data in the first
row.
Now, my question is that column 3 and 4 in my csv file contains both numeric
and non-numeric data. I've tried to insert "ABC" and "ABC" into the first
line of column 3 and 4 respectively but the error still arise. I get stuck
in this problem for quite a while and i really hope some of you might have
encounter the same problem before and have already found a solution.
Another question is that the type conversion error problem does not occur if
i manually use the import function from get external data. Does it mean that
access use different methods to import data to access for the 2 approaches
such that the error only occurs when i tried to import the data
programatically? Any help will be much appreciated....