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!

Setting criteria for a select query 1

Status
Not open for further replies.

kpryan

Technical User
Aug 24, 2005
282
0
0
US
Hi
In a query I have three options to select companies,
ie: "C" (Companies) "P" (Private clients) "S" for (Suppliers).
On the criteria line how do I just select companies and private clients.

I know that I can enter "C" which will select companies etc, but to be able to select both at the same time.

Many thanks,

KP
 
C" or "P"

I believe this is what you are looking for?
 
In ('C','P')

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top