Hi,
I am using the following query
"select trim(name),trim(page) from [MEDICAL FACILITIES] where [name] is not null and [name] like '" & Trim(Text1.Text) & "%' order by [name]"
to select all the records that matches the name entered in the textbox-Text1.
The query works fine except when the text entered in the textbox has an " ' ". For example, when i search for "Woman's Hospital". The error i get is
Syntax error (missing operator) in query expression
Someone please tell me how I can solve this problem.
Thanks,
Suresh.