Does anyone know how to make an asterisk literal in a MS Access query??? We've tried encapsulating it in quotation marks, etc, but it hasn't worked. Any help is appreciated!
We are querying on a field that is either blank, has some text in it, or has some text in it preceded by an * (so, "*blahblahblah"). We want to grab all records with an * in it. So we don't want to match it to "*" exactly, but look for a wild card ALONG with an *. Ugh.
So maybe 'Like "*"' makes more sense to me... but who knows.
Like "*Blah Blah Blah*" And Asc(Left([employeenumber],1))
The asc(left thingie will make sure the first charachter is a *. The like *blah* finds like you think, and the and makes it only show records that match both.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.