G
Guest
Hi,
I have a textbox on my form. On that text box, with VBA, I am creating a
text line that will be linked to my query for the criteria.
My problem is:
If there is one value Lets say ANDY in the text box and when I insert that
text box name in the name criteria in the query it is working.
But if I have ANDY OR JACK, then the query is not working. If I type
manually the criteria to the query, it works. I also tried to modify the VBA
code so the text box would be "ANDY" OR "JACK", but still does not work.
I know it must be a simple quesotion for some of you.
Do you have any suggestions, on what I can do to make this query work..
Thanks
I have a textbox on my form. On that text box, with VBA, I am creating a
text line that will be linked to my query for the criteria.
My problem is:
If there is one value Lets say ANDY in the text box and when I insert that
text box name in the name criteria in the query it is working.
But if I have ANDY OR JACK, then the query is not working. If I type
manually the criteria to the query, it works. I also tried to modify the VBA
code so the text box would be "ANDY" OR "JACK", but still does not work.
I know it must be a simple quesotion for some of you.
Do you have any suggestions, on what I can do to make this query work..
Thanks