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

How to group by weekly in a Microsoft Access Query

Status
Not open for further replies.

JFord39

Technical User
Joined
Sep 26, 2007
Messages
1
Location
US
Trying to run a query and group my data weekly. I have a set of data that consists of 06/02/07-08/31/2007 data. How would I go about group this data weekly?
 




Hi,

All kinds of ways. I use
Code:
Select INT(([DateField]-1)/7)*7+1 as WeekOf
results in SUNDAY dates.

Skip,

[glasses] When a group touring the Crest Toothpaste factory got caught in a large cooler, headlines read...
Tooth Company Freeze a Crowd! and
Many are Cold, but Few are Frozen![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top