Two approaches.
Forms!FindCompanies!findquery.Form.Filter = "Company Like " & """*" &
Me.findco & "*"""
which can be simplified to
Forms!FindCompanies!findquery.Form.Filter = "Company Like ""*" & Me.findco
& "*"""
or
Forms!FindCompanies!findquery.Form.Filter = "Company Like '*" &
Replace(Me.findco, "'", "''") & "*'"
See my May, 2004 "Access Answers" column in Pinnacle Publication's "Smart
Access" for more details. You can download the column (and sample database)
for free from http://www.accessmvp.com/DJSteele/SmartAccess.html

Signature
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)
>I have a search box, that when the search term contains an apostrophe
> (i.e. O'Charley's), I get an error. Here is the code:
[quoted text clipped - 14 lines]
>
> magmike
magmike - 26 May 2008 22:34 GMT
On May 26, 3:52 pm, "Douglas J. Steele"
<NOSPAM_djsteele@NOSPAM_canada.com> wrote:
> Two approaches.
>
[quoted text clipped - 39 lines]
>
> - Show quoted text -
Thanks! Well done!