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!

COUNT Function 2

Status
Not open for further replies.

smartrider

Programmer
Apr 18, 2003
21
US
I have a query in which there are case numbers and person id . Every case have a different case number but one person have more than one case.

One the query I have different cases but some person ids are the same .
I am trying to do a COunt of personids but not counting the personid that is displayed more than once.

I hope I am making sense.

Please Help.

Thanks.

 
you have to have a query that only has PersonID in it.
make it a Totals query (toolbar VIEW+TOTALS)
GroupOn the PersonID
This gives you unique PersonID's
at the bottom of the query is a count
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top