J
John
I have a continous form that displays a record after a partnumber is
selected from a combobox. There are also 3 unbound fields in the
header that update a record in another table. The backend is SQL2005.
Here is the update query that I have.
updSQL = "UPDATE DeviceWarrantyNotes SET MaxWarrantyLength = " &
txtMaxWarrantyLength & ", Notes = '" & txtNotes & "' WHERE PartNumber
= '" & cboFindPart & "'"
Now, if I remove the MaxWarrantyLength and just go with the Notes, the
UPDATE works fine. If I add in the MaxWarrantyLength (which is an
int) I get an error:
No value given for one or more required parameters.
Can someone see what I am doing wrong with the MaxWarrantyLength,
which is what I presume is the culprit in all this.
Thanks.
John
selected from a combobox. There are also 3 unbound fields in the
header that update a record in another table. The backend is SQL2005.
Here is the update query that I have.
updSQL = "UPDATE DeviceWarrantyNotes SET MaxWarrantyLength = " &
txtMaxWarrantyLength & ", Notes = '" & txtNotes & "' WHERE PartNumber
= '" & cboFindPart & "'"
Now, if I remove the MaxWarrantyLength and just go with the Notes, the
UPDATE works fine. If I add in the MaxWarrantyLength (which is an
int) I get an error:
No value given for one or more required parameters.
Can someone see what I am doing wrong with the MaxWarrantyLength,
which is what I presume is the culprit in all this.
Thanks.
John