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

Summing a Query by month

Status
Not open for further replies.

DLSE

Technical User
Sep 5, 2002
24
0
0
US
I have specific dates (including day, month, and year) in a table with corresponding data. In a query, I wish to count this data for each month. For example, I want to have an individual count for each month Jan. through Dec.. How do I tell a query to separate these months and count according to them? Thanks for the help,
Matt
 
Create a Grouped Query (use the funny looking "E" on the toolbar: the Totals button)

Add the following to the Query:

Month: Month([NameofDateField)
IDField

Change the Group By of the IDField to Count

Run the Query


"I know what you're t'inkin', ma petite. Dat Gambit... still de suave one, no?"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top