Combo box error

ian_ok

Registered User.
Local time
Today, 17:07
Joined
May 1, 2001
Messages
90
I have a combo box which is used to find a persons details on a form, which works fine **EXCEPT when yet when you select the person who's name has an apostrophe in it, I get a run time error.

Can this be corrected in any way?

Ian
 
Yes you need to change the criteria in the after update to look something like this...

Me.RecordsetClone.FindFirst "[MyField] = " " " & Me![MyCombo] & " " " "

HTH

[This message has been edited by KevinM (edited 06-08-2001).]
 

Users who are viewing this thread

Back
Top Bottom