A
AMHodgetts
Hi,
I have an update/append query as follows,
UPDATE TabTapes SET TabTapes.ContractNumber =
[Forms]![TapeDispatch]![TXTContractNo], TabTapes.Customer =
[Forms]![TapeDispatch]![cmbCustomer], TabTapes.TapeID =
[Forms]![TapeDispatch]![tapeid1], TabTapes.IDate =
[Forms]![TapeDispatch]![datToday], TabTapes.RDate =
[Forms]![TapeDispatch]![datReturn], TabTapes.Returned = 'FALSE',
TabTapes.Stamped = 'FALSE'
WHERE (((TabTapes.ContractNumber)=[Forms]![TapeDispatch]![TXTContractNo])
AND ((TabTapes.TapeID)=[Forms]![TapeDispatch]![tapeid1])) OR
(((TabTapes.ContractNumber)="1") AND ((TabTapes.TapeID) Is Null));
When I run the query I get the following message;
'Microsoft Access can't update all the records in the update query.
Microsoft Access didn't update 1 field due to a type conversion failure'.
When I check the table 'tabTapes', the query has updated all fields but the
'TapeID' field.
In the design of 'tabTapes' the field 'tapeID' is a txt field and
[Forms]![TapeDispatch]![tapeid1] is also a txt field.
Can anyone point me in the right direction.
I have an update/append query as follows,
UPDATE TabTapes SET TabTapes.ContractNumber =
[Forms]![TapeDispatch]![TXTContractNo], TabTapes.Customer =
[Forms]![TapeDispatch]![cmbCustomer], TabTapes.TapeID =
[Forms]![TapeDispatch]![tapeid1], TabTapes.IDate =
[Forms]![TapeDispatch]![datToday], TabTapes.RDate =
[Forms]![TapeDispatch]![datReturn], TabTapes.Returned = 'FALSE',
TabTapes.Stamped = 'FALSE'
WHERE (((TabTapes.ContractNumber)=[Forms]![TapeDispatch]![TXTContractNo])
AND ((TabTapes.TapeID)=[Forms]![TapeDispatch]![tapeid1])) OR
(((TabTapes.ContractNumber)="1") AND ((TabTapes.TapeID) Is Null));
When I run the query I get the following message;
'Microsoft Access can't update all the records in the update query.
Microsoft Access didn't update 1 field due to a type conversion failure'.
When I check the table 'tabTapes', the query has updated all fields but the
'TapeID' field.
In the design of 'tabTapes' the field 'tapeID' is a txt field and
[Forms]![TapeDispatch]![tapeid1] is also a txt field.
Can anyone point me in the right direction.