A
Ann
I have a search form, user need to enter first name or
last name, then hit search button, then it will search in
a table.
But when user enter first name like O'henry, which
includes a apostrophe, the it gives error: missing
operator, syntax error.
How can I avoid this problem?
part of codes like:
FullName = "'" & Trim$(Me.txtLName) & ", " &
Trim$(Me.txtFName) & "'"
Thanks
last name, then hit search button, then it will search in
a table.
But when user enter first name like O'henry, which
includes a apostrophe, the it gives error: missing
operator, syntax error.
How can I avoid this problem?
part of codes like:
FullName = "'" & Trim$(Me.txtLName) & ", " &
Trim$(Me.txtFName) & "'"
Thanks