Can someone tell me what is wrong with this picture, please?
“SELECT LOC, Funding From qryTest WHERE LOC ='” & strLOC “‘ And LOC Not Like ‘US *’;”
The query works in Access, but when I try to run it from code, I can’t get it to exclude the ‘US *’ (the field actually contains a country name, and in the case of the US it is in the form ‘US – XX’ where XX is the 2-letter state code.
I am sure it is something simple, but I can’t think of what it might be!
Thanks,
Kiwi44