I am trying to update a table but keep getting a compile error on the following code:-
Have looked for syntax rules on web and feel that the above should work but Access Event will not accept it.
Can anyone help.
Code:
Dim strSQL As String
strSQL = "Update [tblEmployees], Set [tblEmployees.strEmpPassword] = Me.newPsswd" _
"WHERE strEmpPassword = Me.oldPsswd"
DoCmd.RunSQL strSQL
Can anyone help.
Comment