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

Contains or Within Query

Status
Not open for further replies.

MilinPCH

Technical User
Jul 27, 2000
37
0
0
US
I think this is an easy one, but I can't seem to find out how to do it.

Have a query against a field in a table that has multiple values...for each line item, the values in the field could be A or AB or even ABC or AGC or any combination of letters.

What is the syntax for the criteria section of my query to find line items from the table that just contain the letter B (even if it is part of the text string of other letters)

Thanks!
 
Hi!

In the criteria you need to use Like "B"

hth
Jeff Bridgham
bridgham@purdue.edu
 
jebry,

That's what I did, but it comes up blank.
(I am using Access 02)

????????

 
Hi!

Well don't I feel foolish! Try Like "*B*"

hth
Jeff Bridgham
bridgham@purdue.edu
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top