Hi Everyone,
I've got what i hope to be a simple problem but my google-fu seems weak against it.
i've got a table that contains
Name | Date | Hours off
What i want to be able to do is do a seach within a date range and then total the hours off for each person.
i can do that date range easy and i can do the total when i'm not including date range.
TESTING_All Staff Total
Name SumOfHours off today
A.L 15.2
A.R 7.6
A.S 7.6
A.H 7.6
But i can't do them together, it does try to sum up the hours but will sum it for each person for a particular date, whereas i want to query by date, but i dont' want the data to be separated by day.
TESTING_All Staff Total
Name SumOfHours off TodayDate
A.L 7.6 20/09/2011
A.L 7.6 27/09/2011
A.R 7.6 26/09/2011
A.S 7.6 27/09/2011
A.H 7.6 26/09/2011
so essentially i want the data to show as per the first table shown, but i want to be able to enter the date range to show. that way i could total for day, week, month, or whatever date range you put in.
Thanks in advance, you guys are always so helpful.