B
Barry
I've recently converted a .mdb from Access 97 to 2000 and
now an Append query no longer works. I get the error
"Access can't append all the records in the append query".
It tells me that 9 fields are set to Null due to a type
conversion failure. Here is the SQL of the query:
INSERT INTO api_tblCurrentLbrPrices ( ID, [Size], PriceDate )
SELECT DISTINCT api_tblCurrentLbrPrices.ID,
api_tblCurrentLbrPrices.Size,
[Forms]![api_frmCurrentPrices]![textDate] AS Expr1
FROM api_tblCurrentLbrPrices
WHERE
((([Forms]![api_frmCurrentPrices]![txtDate])=[Forms]![api_frmCurrentPrices]![txtDate]));
I've determined that the date field is causing the problem,
but I can't figure out what the problem is. The textDate
field is formatted on the form as #M/D/YYYY#. The txtDate
field is formatted as MM/DD/YYYY. (The textDate field was
one of my attempts to fix this problem that gave the same
results, so it's not really needed.) Any help would surely
be appreciated!
now an Append query no longer works. I get the error
"Access can't append all the records in the append query".
It tells me that 9 fields are set to Null due to a type
conversion failure. Here is the SQL of the query:
INSERT INTO api_tblCurrentLbrPrices ( ID, [Size], PriceDate )
SELECT DISTINCT api_tblCurrentLbrPrices.ID,
api_tblCurrentLbrPrices.Size,
[Forms]![api_frmCurrentPrices]![textDate] AS Expr1
FROM api_tblCurrentLbrPrices
WHERE
((([Forms]![api_frmCurrentPrices]![txtDate])=[Forms]![api_frmCurrentPrices]![txtDate]));
I've determined that the date field is causing the problem,
but I can't figure out what the problem is. The textDate
field is formatted on the form as #M/D/YYYY#. The txtDate
field is formatted as MM/DD/YYYY. (The textDate field was
one of my attempts to fix this problem that gave the same
results, so it's not really needed.) Any help would surely
be appreciated!