Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What is the escape char for *?

Status
Not open for further replies.

TroyMcClure

Technical User
Oct 13, 2003
137
US
I want to find all records in a table where a certain field contains the asterisk character anywhere in the field. I've tried
Like "*" & Chr(42) & "*", but this just returns all records.

I'm thinking there must be an escape char, but I've tried some standard ones (/,\,[], etc), and none seem to work.
--T
 
Golom,cmmrfrds,
Thanks, both work. I thought I had tried the brackets surrounding as in cmmrfrds example, but I guess I just preceded the character with the bracket.
--T
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top