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!

Summary Query Group by Month 1

Status
Not open for further replies.

BarbDataRUs

Programmer
Oct 10, 2003
3
US
I have a simple table tracking number of hours worked per day need to be able to present (and graph) number of hours per month. In the past I've made queries of this type by grouping by "year" (using DatePart) and then by "month" (also using DatePart) but there's gotta be a simpler (and more elegant) solution I'm just missing. I know exactly how to do this in Crystal reports, but Access is making my brain hurt.
 
Try grouping by
Code:
    Format ( DateField, "yyyy/mm" )
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top