I ran a SQL UPDATE statement in MS Access, but received a error message
Syntax error (missing operator) in query expression
I searched in internet, but any solutions works in my situation.
My code is:
Private Sub Command111_Click()
CurrentDb.Execute " UPDATE test3 " & _
"SET OrderStatus= 'Producing' " & _
"WHERE OrderID='" & Me!cboOrderID1 & "' ProductName='" & Me!ComboProduct1 & "'"
End Sub
Please help me check where is wrong.
Thanks
ANDbetween the two conditions you have there.