C
cpamxn
Sub Combo61_AfterUpdate()
' Find the record that matches the control.
Me.RecordsetClone.FindFirst "[Unit] = '" & Me![Combo61] & "'"
Me.Bookmark = Me.RecordsetClone.Bookmark
End Sub
I want to use a cmbo box to search for a record on a form.
If a record in the table has a apostrophe ' as in "albert's office", I get
an error message. How can I get around this?
' Find the record that matches the control.
Me.RecordsetClone.FindFirst "[Unit] = '" & Me![Combo61] & "'"
Me.Bookmark = Me.RecordsetClone.Bookmark
End Sub
I want to use a cmbo box to search for a record on a form.
If a record in the table has a apostrophe ' as in "albert's office", I get
an error message. How can I get around this?