accessaspire219
Registered User.
- Local time
- Yesterday, 18:03
- Joined
- Jan 16, 2009
- Messages
- 126
Hi,
I want to calculate the week starting based on a given date in an access query. The formula I am currently using is,
For my requirement each week starts on a Monday and ends on Sunday. So for example 01/10/2010 should be classified under week starting date of 01/04/2010. The formula above classifies this as week starting date of 01/11/2010. What changes do I need to make to the above formula to achieve this?
Appreciate your help!
Thanks!!!
I want to calculate the week starting based on a given date in an access query. The formula I am currently using is,
Code:
Wk_Starting_Date: DateAdd("ww",[POA_ETA_Wk]-1,DateSerial(Year([POA ETA]),1,1))-(Weekday((DateAdd("ww",[POA_ETA_Wk]-1,DateSerial(Year([POA ETA]),1,1))),2)-1)[/SIZE][/FONT]
[FONT=Calibri][SIZE=3]
Appreciate your help!
Thanks!!!