I am using a variable in a Variable than switching it to a function and then using it in a query. However, I can't get it to work. If I type the Or statement in directly I can get it to work but If I get it through the Function then it doesnt work.
I have tried:
Chr(34) & "2" & Chr(34) & " or " & Chr(34) & "3" & Chr(34)
"2 or 3"
"2" or "3"
and many other combinations. What is the correct syntax that I need to use in the variable so it will work as an Or Statement in a query?
I have tried:
Chr(34) & "2" & Chr(34) & " or " & Chr(34) & "3" & Chr(34)
"2 or 3"
"2" or "3"
and many other combinations. What is the correct syntax that I need to use in the variable so it will work as an Or Statement in a query?