T
tuesamlarry
I have a data entry subform based on a query. When editing or adding Irish
names such as O'Toole, I get an "Error 3075, Syntax error (missing operator)
in query expression", whenever I try to put a single quote (apostrophe) in
the name. If I click the OK, the message disappears and the cursor continues
to next control and leaves the name with the apostrophe, as intended. Have
tried trapping the error in the Error handling routine in the Form's Before
Update event and the control's On Key Press event without success. What can I
do to either prevent the error in the first place or trap the error and not
display the message?
Windows XP Pro; Access 2007.
Thank you in advance.
names such as O'Toole, I get an "Error 3075, Syntax error (missing operator)
in query expression", whenever I try to put a single quote (apostrophe) in
the name. If I click the OK, the message disappears and the cursor continues
to next control and leaves the name with the apostrophe, as intended. Have
tried trapping the error in the Error handling routine in the Form's Before
Update event and the control's On Key Press event without success. What can I
do to either prevent the error in the first place or trap the error and not
display the message?
Windows XP Pro; Access 2007.
Thank you in advance.