Hello,
I am having a problem with my SQL update statement, maybe someone can tell me what i have wrong.
Here it is:
All on one line
I keep getting the error Run-time error '3464'
Data type mismatch in criteria expression.
rp is a value from a textbox, and snsearch is also a textbox value, if that makes a difference. Both are numbers in a table.
Thank you.
I am having a problem with my SQL update statement, maybe someone can tell me what i have wrong.
Here it is:
Code:
strSQL = "UPDATE [Printtable] SET [ReprintNum] = '" & rp & "' WHERE [SerialNum] = '" & SNsearch & "'"
CurrentDb.Execute (strSQL)
All on one line
I keep getting the error Run-time error '3464'
Data type mismatch in criteria expression.
rp is a value from a textbox, and snsearch is also a textbox value, if that makes a difference. Both are numbers in a table.
Thank you.