monkeyman77
Registered User.
- Local time
- Today, 11:22
- Joined
- Nov 30, 2016
- Messages
- 47
Hello All,
I am attempting to create a time-card data base that allows me to pull reports. I have created an example database attached that represents the one I am working on and I was hoping someone could help me with my current issue.
OVERTIME Rules
-Over 40 hours equals OT (no matter what day)
-Double time only occurs when approved (approved with check box in form)
My issue arises when an employee work multiple jobs in one day. I am struggling to create a formula or code that will do the following:
Example:
-If employee work multiple jobs on Tuesday and over 8 hours, the database will add up all of the time for the week, find out if 40 hours have been worked, see that over hours have been work on Tuesday, and apply OT hours to the latest worked job.
-If there are 3 jobs worked in one day and 8 hours is reached during the 2nd job, reg hours and OT hours will have to be added to that job, and the 3rd job will be all OT.
The example database i have created doesn't have my awful attempts at writing this code, it is just an example of how the database is set up.
It would be much appreciated if someone could create a Holiday Miracle for me!!!
-Steven
I am attempting to create a time-card data base that allows me to pull reports. I have created an example database attached that represents the one I am working on and I was hoping someone could help me with my current issue.
OVERTIME Rules
-Over 40 hours equals OT (no matter what day)
-Double time only occurs when approved (approved with check box in form)
My issue arises when an employee work multiple jobs in one day. I am struggling to create a formula or code that will do the following:
Example:
-If employee work multiple jobs on Tuesday and over 8 hours, the database will add up all of the time for the week, find out if 40 hours have been worked, see that over hours have been work on Tuesday, and apply OT hours to the latest worked job.
-If there are 3 jobs worked in one day and 8 hours is reached during the 2nd job, reg hours and OT hours will have to be added to that job, and the 3rd job will be all OT.
The example database i have created doesn't have my awful attempts at writing this code, it is just an example of how the database is set up.
It would be much appreciated if someone could create a Holiday Miracle for me!!!
-Steven