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

Logic Required to Calculate Data on Weekly Basis 1

Status
Not open for further replies.

Mike555

Technical User
Feb 21, 2003
1,200
US
I have a table containing a field named "DateAdded" which contains the date that a record was added to the table. I need to create a report which summarizes data in this table by week. Is it possible to somehow setup logic which can identify dates within a week, and then build a sorting process allowing me to calculate weekly totals?

Thanks.

--
Mike

Why make it simple and efficient when it can be complex and wonderful?
 
You can group by the expression:
WeekAdded: Format([DateAdded],"yyyy") & Format(DatePart("ww",[DateAdded]),"00")


Duane
MS Access MVP
Find out how to get great answers faq219-2884.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top