P
Paul Ponzelli
I've got a combo box in a form used to "find a record on my form based on a
record I select in the combo box."
I created this control with the Combo Box Wizard, and the desired record is
selected with the line
rs.FindFirst "[Applicant] = '" & Me![cboSelectApplicant2] & "'"
The Bound Control is a text field, and it works fine until I try to select a
string that has a single apostrophe in it, at which time I get the error
message
Run-time error '3077':
Syntax error (missing operator) in expression.
Is there anything I can do to overcome this problem?
Thanks in advance,
Paul
record I select in the combo box."
I created this control with the Combo Box Wizard, and the desired record is
selected with the line
rs.FindFirst "[Applicant] = '" & Me![cboSelectApplicant2] & "'"
The Bound Control is a text field, and it works fine until I try to select a
string that has a single apostrophe in it, at which time I get the error
message
Run-time error '3077':
Syntax error (missing operator) in expression.
Is there anything I can do to overcome this problem?
Thanks in advance,
Paul