J
Judy Ward
Every day I run commands that truncate a table (tblSAR) and import new data
from an Excel worksheet. All of a sudden I am getting a Type Conversion
Failure for the date fields. I can see that some of the dates in the Excel
worksheet are in the format mm/dd/yyyy (with a leading zero) and some are
not. Excel thinks the fields with a leading zero are text fields with a
format of "General". I have tried formatting these fields as Date in Excel
and then performing the import. That did not solve the problem and I can't
figure out why.
The data I get is coming out of another application--I don't have any
control over that. I do have control over formatting the Excel worksheet I
want to import. Linking to the Excel worksheet is not an option. My Primary
Key field has some numeric and some alphanumeric entries and I get an error
when I try linking.
I would sure appreciate any suggestions on what else to try?
Thank you,
Judy
from an Excel worksheet. All of a sudden I am getting a Type Conversion
Failure for the date fields. I can see that some of the dates in the Excel
worksheet are in the format mm/dd/yyyy (with a leading zero) and some are
not. Excel thinks the fields with a leading zero are text fields with a
format of "General". I have tried formatting these fields as Date in Excel
and then performing the import. That did not solve the problem and I can't
figure out why.
The data I get is coming out of another application--I don't have any
control over that. I do have control over formatting the Excel worksheet I
want to import. Linking to the Excel worksheet is not an option. My Primary
Key field has some numeric and some alphanumeric entries and I get an error
when I try linking.
I would sure appreciate any suggestions on what else to try?
Thank you,
Judy