D
Dan
I have a list box with a list of first and last names in
it and I just used the wizard to create it. It created it
so that when you click on one of the entries, it will go
to that record. However if there is an apostasies in the
persons name, like O'Connell, it gives an error and won't
go to the record. The error number is 3077 and it
says "syntax error (missing operator) in expression".
This is the code that was created:
'Find the record that matches the control.
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "[Full Name] = '" & Me![List101] & "'"
If Not rs.EOF Then Me.Bookmark = rs.Bookmark
Is there anyway to get rid of this error?
it and I just used the wizard to create it. It created it
so that when you click on one of the entries, it will go
to that record. However if there is an apostasies in the
persons name, like O'Connell, it gives an error and won't
go to the record. The error number is 3077 and it
says "syntax error (missing operator) in expression".
This is the code that was created:
'Find the record that matches the control.
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "[Full Name] = '" & Me![List101] & "'"
If Not rs.EOF Then Me.Bookmark = rs.Bookmark
Is there anyway to get rid of this error?