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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Searching for records in which a field "contains" certain data

Status
Not open for further replies.

BigDgiB

MIS
Jun 7, 1999
10
US
I'm building a query, and I need to know the expression syntax for a search of certain characters/numbers in any part of the field. For example, if my field contains "x" "y" and "z" I want to build the query that says find all records that contain "z" in the field. When I just put in the criteria "z" it won't pick up unless "z" is the first character in the field.
 
Use the &quot;Like&quot; operator. For example:<br>
<br>
Like &quot;*Z*&quot;<br>
<br>
look it up in help for info on the wildcard chars.<br>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top