I have set up a look-up field in my form that gives me the error message;(missing operator)in expression; whenever I try to pull up anything with an apostrophe. What the heck is up with that? I have pasted the code below, please, someone, tell me what I am missing.Thank you, thank you, and many thank you's to follow!
Lisa (so obviously NOT a programmer
)
Option Compare Database
Private Sub Combo10_AfterUpdate()
' Find the record that matches the control.
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "[Company] = '" & Me![Combo10] & "'"
Me.Bookmark = rs.Bookmark
End Sub
Lisa (so obviously NOT a programmer
Option Compare Database
Private Sub Combo10_AfterUpdate()
' Find the record that matches the control.
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "[Company] = '" & Me![Combo10] & "'"
Me.Bookmark = rs.Bookmark
End Sub