tyedyejenn
Programmer
I am trying to change the LockOutUser field for a record in the AgentPay database. I am using the following UPDATE statement but the syntax is incorrect. I am using VB6<br><br>In my code this is all on one line:<br><br>UPDATE [AgentPayDB!]LogIN SET LockOutUser = Y WHERE LogIn.[User ID]=" & "'" & strUserID & "'" & " AND LogIn.[User Password]=" & "'" & strUserPassword & "'"<br><br>Any help is greatly appreciated<br>Thanks in advance<br>Jenn<br><br>