View Full Version : Combo box error


ian_ok
06-08-2001, 02:50 AM
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

KevinM
06-08-2001, 03:57 AM
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).]