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

Sum a count 1

Status
Not open for further replies.

ptrifile

Technical User
Aug 10, 2004
457
US
I have the following query and what i cannot seem to do is get a SUM of the COUNT field. Can someone please help?

Code:
SELECT owssvr.[Date (do not change)], owssvr.[Created By], Count(owssvr.[Created By]) AS [CountOfCreated By]
FROM owssvr
GROUP BY owssvr.[Date (do not change)], owssvr.[Created By];

thanks!

Paul
 
Generally the easiest way to do this in Access is to make a query based on another query. Then you would just sum the counted field... I do not know what grouping you are trying to get out but it would seem that changing the grouping in a copy of this query and just doing a count would give you the same result.
 
Thanks Lameid....just needed a little advice, thanks for the help! i got it working just the way i needed to with your help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top