CJ
Board Regular
- Joined
- Feb 22, 2002
- Messages
- 77
Hi,
I have several Access Queries that take Order and group it into the week band it belongs too.
I.E 06/11/2015 would fall into 02/11/2015 - 08/11/2015
12/11/2015 would fall into 09/11/2015 - 15/11/2015
Which I do with a Linked Excel look up Table which has every date of the year and it's corresponding Week Group.
I'm just about to add 2016 dates & Week Groups to this Table.
And had a thought has anyone got a Access a IIf statement or any VBA that can do the above when the query is run rather than using a Look up table.
Chris
I have several Access Queries that take Order and group it into the week band it belongs too.
I.E 06/11/2015 would fall into 02/11/2015 - 08/11/2015
12/11/2015 would fall into 09/11/2015 - 15/11/2015
Which I do with a Linked Excel look up Table which has every date of the year and it's corresponding Week Group.
I'm just about to add 2016 dates & Week Groups to this Table.
And had a thought has anyone got a Access a IIf statement or any VBA that can do the above when the query is run rather than using a Look up table.
Chris