I'm trying to create a query that will look at 2 tables to calculate remaining holiday.
EmployeeTable has a field HolidayEnt (entitlement)
AbsenceTable can have many types of absence, of which one is holiday.
I want to calculate remaining holiday based on "HolidayEnt-sum(AbsenceTable.DaysOff) where the AbsenceType=Holiday.
If there are no "holidays" recorded, then the result should be HolidayEnt.
Can I get this to work - NO.
Any help would be appreciated.
EmployeeTable has a field HolidayEnt (entitlement)
AbsenceTable can have many types of absence, of which one is holiday.
I want to calculate remaining holiday based on "HolidayEnt-sum(AbsenceTable.DaysOff) where the AbsenceType=Holiday.
If there are no "holidays" recorded, then the result should be HolidayEnt.
Can I get this to work - NO.
Any help would be appreciated.