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 Shaun E 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 particular query 1

Status
Not open for further replies.

bmoberly8888

Technical User
Nov 18, 2004
26
US
We have client numbers and matter numbers. I need a list of only the client numbers that have more than one matter number.
 
something like this should work and will tell you the number of matters for each client too:

SELECT CLIENT_NUMBER, COUNT(MATTER_NUMBER) FROM TABLENAME GROUP BY CLIENT_NUMBER HAVING COUNT(MATTER_NUMBER) > 1

Leslie
 
Is there a way to write this in the criteria in design view?
 
why don't you just paste it in the SQL view, switch to the design view and it should convert it.

I don't do Access so I don't know how to walk you through entering this there. Sorry.

Leslie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top