R
Regan via AccessMonster.com
I SQL below is what i kinda want just slightly changed. How do i get [date
by week] column to group the date by work week. Our work week is Wed - Tues.
Also how can i get it to display the week ending date
i.e
Week ending Employee Sum of Units
18/07/06 Bob 150
25/07/06 Bob 300
SELECT DISTINCTROW Format$(TimeSheet.Date,'ww yyyy') AS [Date By Week],
TimeSheet.Employee, Sum(TimeSheet.Units) AS [Sum Of Units], Count(*) AS
[Count Of TimeSheet]
FROM TimeSheet
GROUP BY Format$(TimeSheet.Date,'ww yyyy'), TimeSheet.Employee;
Thanks if you can help
by week] column to group the date by work week. Our work week is Wed - Tues.
Also how can i get it to display the week ending date
i.e
Week ending Employee Sum of Units
18/07/06 Bob 150
25/07/06 Bob 300
SELECT DISTINCTROW Format$(TimeSheet.Date,'ww yyyy') AS [Date By Week],
TimeSheet.Employee, Sum(TimeSheet.Units) AS [Sum Of Units], Count(*) AS
[Count Of TimeSheet]
FROM TimeSheet
GROUP BY Format$(TimeSheet.Date,'ww yyyy'), TimeSheet.Employee;
Thanks if you can help