G
Guest
Can someone explain to me if it is possible to have OR criteria in a text box
using QBF? If I set up a simple table and a query that has the criteria of
[forms]![MyForm].[txtMyTextBox] and create a text box called txtMyTextBox on
a form named MyForm, put in a value in the text box and run the query it
filters correctly. If I put in another value in the text box and rerun the
query, it works correctly again. However, I need to be able to enter
something like "a OR b" into the text box, but it always returns no records.
I've tried:
"a" OR "b"
'a' OR 'b'
a OR b
Nothing works. Can I do something like this?
using QBF? If I set up a simple table and a query that has the criteria of
[forms]![MyForm].[txtMyTextBox] and create a text box called txtMyTextBox on
a form named MyForm, put in a value in the text box and run the query it
filters correctly. If I put in another value in the text box and rerun the
query, it works correctly again. However, I need to be able to enter
something like "a OR b" into the text box, but it always returns no records.
I've tried:
"a" OR "b"
'a' OR 'b'
a OR b
Nothing works. Can I do something like this?