Guys
Working on a timesheet system where users enter their weekly times based on a 36 hour week. I have a backend query which takes these times and totals each users overtime/deficit.
On the form where times are entered I have a control which pulls through the total time accrued for each users onscreen from this query.
My problem is that this total should be limited to 14hr 24mins and any deficit from following weeks deducted from that total.
Eg. Joe Bloggs
Been working on this for days but to no avail. All help greatly appreciated. Sample database attached for reference.
Thanks
Fozi
Working on a timesheet system where users enter their weekly times based on a 36 hour week. I have a backend query which takes these times and totals each users overtime/deficit.
On the form where times are entered I have a control which pulls through the total time accrued for each users onscreen from this query.
My problem is that this total should be limited to 14hr 24mins and any deficit from following weeks deducted from that total.
Eg. Joe Bloggs
- Wk 1 works an excess of 8 hours
- Wk 2 works an excess of 9 hours - totalling 17 hrs thus deducted to 14.24 max
- Wk 3 has a deficit of 7 hours - total should be 14.24-7 not 17-7
Been working on this for days but to no avail. All help greatly appreciated. Sample database attached for reference.
Thanks
Fozi