G
Guest
I have inherited an Access Database that manages staff absence. Field
headers include Staff Number (the unique identifier), Forename, Surname, 1st
Day of Absence, Last Day of Absence and a field that automatically calculates
the difference between the 1st and Last Day of Absence (DateDiff).
The database was built to work out how many times individual staff memebers
were absent over a rolling 6 month period, what caused their absence and
whether it was self-certified or medically certified.
The database works well enough in that it identifies and give a total of
days absent on an individual basis but what it really needs to do is give a
total period of absence for individuals who have been:
a. Absent more than once in the 6 month period.
b. Have had two episodes of absence totalling >=14 days.
c. Absent for >=3 episodes in the rolling 6 month period.
d. Have a total of all absences that is >=28 days
Can anyone help with suggestions for how I put this into a query?
Thanks
headers include Staff Number (the unique identifier), Forename, Surname, 1st
Day of Absence, Last Day of Absence and a field that automatically calculates
the difference between the 1st and Last Day of Absence (DateDiff).
The database was built to work out how many times individual staff memebers
were absent over a rolling 6 month period, what caused their absence and
whether it was self-certified or medically certified.
The database works well enough in that it identifies and give a total of
days absent on an individual basis but what it really needs to do is give a
total period of absence for individuals who have been:
a. Absent more than once in the 6 month period.
b. Have had two episodes of absence totalling >=14 days.
c. Absent for >=3 episodes in the rolling 6 month period.
d. Have a total of all absences that is >=28 days
Can anyone help with suggestions for how I put this into a query?
Thanks