Assign a Week Number

Hans

Registered User.
Local time
Today, 07:14
Joined
Feb 6, 2002
Messages
20
I'm trying to assign a week number to daily records in order to calculate a week to date cumulative.

Not sure which direction to take, any suggestions? I had one idea: ((DateDiff(?, Date())/7)??
 
If i understand what you're shooting for correctly, check the help file regarding the DatePart() function. You can pass the date and get the week number returned. Then you can sum on records with equal week values.

--Hopefully-Helpful Mac
 

Users who are viewing this thread

Back
Top Bottom