Hello I have a query which gets one of its parameters from a text box on the form.
The query looks for the value in textbox100 on the form (out of interest this lets the user type a surname into text100, click a button and the query runs fine.
To be clear, if the textbox contains Smith, then the query returns the values with Smith as expected.
I would like the user also to be able to type in <>"Smith".
When textbox100 contains <>"Smith" the query fails. This seems odd because typeing <>"Smith" directly into the query runs fine.
Is there a simple way around this?
I have tried the textbox100 values as <>"smith <>Smith "<>Smith" - all without success
Many thanks Mark
The query looks for the value in textbox100 on the form (out of interest this lets the user type a surname into text100, click a button and the query runs fine.
To be clear, if the textbox contains Smith, then the query returns the values with Smith as expected.
I would like the user also to be able to type in <>"Smith".
When textbox100 contains <>"Smith" the query fails. This seems odd because typeing <>"Smith" directly into the query runs fine.
Is there a simple way around this?
I have tried the textbox100 values as <>"smith <>Smith "<>Smith" - all without success
Many thanks Mark