K
karen scheu via AccessMonster.com
I imported a file from AS400 and am trying to run an append query into an
access table. The access table contains a date/time field and the as400
stores that field in text format (mm/dd/yyyy). In my append query I do the
following on the [field line] in the query:
IIf([ONDATE01]=" ",Null,CDate([ONDATE01]))
The [append to] line contains the date/time field [GL]
I get an error message stating Access set 0 fields to null value due to type
conversion failure. If I create a test query using the AS400 table, the
above statement returns the data with no errors, but when I run the append
query, the append into a table with the date field does not work. I can't
figure this one out. Please help me. Thanks.
access table. The access table contains a date/time field and the as400
stores that field in text format (mm/dd/yyyy). In my append query I do the
following on the [field line] in the query:
IIf([ONDATE01]=" ",Null,CDate([ONDATE01]))
The [append to] line contains the date/time field [GL]
I get an error message stating Access set 0 fields to null value due to type
conversion failure. If I create a test query using the AS400 table, the
above statement returns the data with no errors, but when I run the append
query, the append into a table with the date field does not work. I can't
figure this one out. Please help me. Thanks.