I have a button on a form such that when pressed it is to open another form by a query. The query I am using is:
Private Sub Command17_Click()
DoCmd.OpenForm "Edit Signin", acNormal, , "OfficerName = " & WorkersName
End Sub
OfficerName is a field in the "Edit Siginin" Form, and WorkersName is a global Variable.
My error message is : Syntax error ( Missing Operator ) in query expression 'OfficerName = Hector Belle'
Can anyone assist