I need to calculate a running total of elapsed hours for a period and so the day overtime occurrs it is shown
It is simple if I run it for the entire period but I have problems when I run it for a partial period that does not include the first working day..
Example:.
During Period 36 which starts Tuesday at 2:00AM and runs until the following Tuesday @ 1:59 AM
Mary works
9/7 Tues 10 hrs 10 Running Total
9/8 Wed 16 hrs 26 RT
9/9 Thurs 10 hrs 36 RT
9/10 Friday 8 hrs 44 RT
9/11 Saturday 6 hrs 50 RT
When a daily report is run for Friday the hours worked should show (because of 40 hr work week)
Reg 8 hours OT hours 4
When a daily report is run for Saturday, the hours would show
Reg 6 Hrs OT Hours 6
How can I designate and individual date Ex. 9/10 and calculate all hours from the beginning of that period thru that 9/10 so I can calculate overtime?
NOTE: Clock In / Clock out (both date time) AND period is stored with each Record.
I am familiar with subreports and have a little experience with variables.
It is simple if I run it for the entire period but I have problems when I run it for a partial period that does not include the first working day..
Example:.
During Period 36 which starts Tuesday at 2:00AM and runs until the following Tuesday @ 1:59 AM
Mary works
9/7 Tues 10 hrs 10 Running Total
9/8 Wed 16 hrs 26 RT
9/9 Thurs 10 hrs 36 RT
9/10 Friday 8 hrs 44 RT
9/11 Saturday 6 hrs 50 RT
When a daily report is run for Friday the hours worked should show (because of 40 hr work week)
Reg 8 hours OT hours 4
When a daily report is run for Saturday, the hours would show
Reg 6 Hrs OT Hours 6
How can I designate and individual date Ex. 9/10 and calculate all hours from the beginning of that period thru that 9/10 so I can calculate overtime?
NOTE: Clock In / Clock out (both date time) AND period is stored with each Record.
I am familiar with subreports and have a little experience with variables.