edioguardi
Technical User
I'm working on a database to start tracking my Company's employees Sick Leaves & FMLA's.
I have a "Leaves" table with Employee Numbers, Start Date End Date, Type & FMLA Period. No primary key, and have not entered the FMLA Period for each entry- only the very first for each employee.
After the Employee submits their 1st FMLA a 12-month clock starts, in which the employee may take a total of 60 working days off. After the 12 months has expired, the next FMLA submitted will start the next 12-month period.
I have a query that will determine the number of working days off for each FMLA, but I need to be able to:
1. sum the days used within the current 12 month period (not current Date - 12 months)
2. automatically increase the FMLA period by 1, when the first FMLA is submitted 12 or more months after the start date of the first FMLA of the previous period.
Any help is appreciated
I have a "Leaves" table with Employee Numbers, Start Date End Date, Type & FMLA Period. No primary key, and have not entered the FMLA Period for each entry- only the very first for each employee.
After the Employee submits their 1st FMLA a 12-month clock starts, in which the employee may take a total of 60 working days off. After the 12 months has expired, the next FMLA submitted will start the next 12-month period.
I have a query that will determine the number of working days off for each FMLA, but I need to be able to:
1. sum the days used within the current 12 month period (not current Date - 12 months)
2. automatically increase the FMLA period by 1, when the first FMLA is submitted 12 or more months after the start date of the first FMLA of the previous period.
Any help is appreciated