I have a table with the following fields:
StartTime, EndTime, and Total.
The StartTime and EndTime are formated so the Date and Time are recorded like this "10/06/03 5:45:00 AM."
When the staffs starts to work, they would enter the StartTime and at the end of the shift, they would enter the EndTime and the total units of work that they performanced. So over time you would see something like this in the table:
StartTime EndTime Total
10/06/03 5:45:00 AM 10/06/03 10:00:00 AM 150
10/06/03 10:00:00 AM 10/06/03 8:30:00 PM 202
10/07/03 6:30:00 PM 10/08/03 2:30:00 AM 125
What I need is to have a query running that will give me a total number of hours worked between the StartTime and EndTime. It must also give me the total number of hours worked on that day and the accumulated Total for that day. So for 10/06/03, it would give the total number of hours for both entries and a accumulated total of 352.
StartTime, EndTime, and Total.
The StartTime and EndTime are formated so the Date and Time are recorded like this "10/06/03 5:45:00 AM."
When the staffs starts to work, they would enter the StartTime and at the end of the shift, they would enter the EndTime and the total units of work that they performanced. So over time you would see something like this in the table:
StartTime EndTime Total
10/06/03 5:45:00 AM 10/06/03 10:00:00 AM 150
10/06/03 10:00:00 AM 10/06/03 8:30:00 PM 202
10/07/03 6:30:00 PM 10/08/03 2:30:00 AM 125
What I need is to have a query running that will give me a total number of hours worked between the StartTime and EndTime. It must also give me the total number of hours worked on that day and the accumulated Total for that day. So for 10/06/03, it would give the total number of hours for both entries and a accumulated total of 352.