I have created a database and started working on the forms, I have a form that contains the employee information on the top half of the form and at the bottom there are tabs which have subforms to different tables with information related to that employee absence / infractions / timekeeping etc etc
It is set up so the subforms only contain the data linked to the main employee table.
In one of the tabs is holiday data what it has is:
Start Date
End date
No of Days
Comments
Approved / Denied
What I need is a text box within the tap just above the subform that adds up the number of days from holidays that have been marked as Approved and also between the dates of the year we are in. This should only be calculated for the data in the subtable.
Then what i need is another text box that takes the value of the above box and subtracts it from 20.
I have never done anything like this so any help would be great.
It is set up so the subforms only contain the data linked to the main employee table.
In one of the tabs is holiday data what it has is:
Start Date
End date
No of Days
Comments
Approved / Denied
What I need is a text box within the tap just above the subform that adds up the number of days from holidays that have been marked as Approved and also between the dates of the year we are in. This should only be calculated for the data in the subtable.
Then what i need is another text box that takes the value of the above box and subtracts it from 20.
I have never done anything like this so any help would be great.