manos39
Programmer
- Jan 26, 2011
- 8
I d like some help please
i have an example query:
SELECT TblWorkdays.WorkdaysID, TblWorkdays.Workday
FROM TblWorkdays;
given the "Workday" like Format([Workday];"yyyy-mm-ww"),
i would like to count just the number of days there are in week like:
mon tue wed thu fri sat Sun =result
1 2 3 4 5 6 6
7 8 9 10 11 12 13 7
14 14 16 17 18 19 20 7
21 22 23 24 25 26 27 7
28 29 30 31 4
so in a new field, to have the result
WorkdaysID Workday N of days
1 2011/1/1 6
2 2011/1/2 7
3 2011/1/5 4
is it possible?
i have an example query:
SELECT TblWorkdays.WorkdaysID, TblWorkdays.Workday
FROM TblWorkdays;
given the "Workday" like Format([Workday];"yyyy-mm-ww"),
i would like to count just the number of days there are in week like:
mon tue wed thu fri sat Sun =result
1 2 3 4 5 6 6
7 8 9 10 11 12 13 7
14 14 16 17 18 19 20 7
21 22 23 24 25 26 27 7
28 29 30 31 4
so in a new field, to have the result
WorkdaysID Workday N of days
1 2011/1/1 6
2 2011/1/2 7
3 2011/1/5 4
is it possible?