D
Dale
I am importing about 14 csv files into tables using the docmd.transfertext.
The code is like this.
docmd.transfertext acimportdelim, tablename, filename, -1
I have some columns that are mainly numbers but sometimes include text. I
have the field defined in the table to import into as text but i get a type
conversion on the records that are text. What am I doing wrong?
An example is a postal code field. I have the table set up with the field as
a text field. Most rows have a US zip code in them but a couple have Canadian
zip codes like T6H 4N7. The row gets put into an importerror table with the
type conversion failure.
The code is like this.
docmd.transfertext acimportdelim, tablename, filename, -1
I have some columns that are mainly numbers but sometimes include text. I
have the field defined in the table to import into as text but i get a type
conversion on the records that are text. What am I doing wrong?
An example is a postal code field. I have the table set up with the field as
a text field. Most rows have a US zip code in them but a couple have Canadian
zip codes like T6H 4N7. The row gets put into an importerror table with the
type conversion failure.