Hi I an new to the forum, and I am not sure whether this is achievable in access, and if so, whether someone could provide me with a solution. A sample database of dummy data is attached.
Here is the problem
1) we have a daily clocking on and out system which records
absences/attendance at work as individual lines of entry. I am trying
to identify and count separate periods of 'sick related and
unauthorised absence entries' from a whole list of absence entries.
2) This is made even more difficult in that some of these absences
straddle the weekend, but as Sat/Sun is not a working day then the
entries are missing and yet such absences should only be regarded as
one single absence. The same could be said of absences straddling a
Bank/Public Holiday.
3) My reason for identifying SICK RELATED AND UNAUTHORISED ABSENCES is to determine whether the employee triggers consideration for a warning.
4) Both these absence types (sick and unauthorised absences) are
strangely treated the same, as invariably an absence entry is tagged
as unauthorised (but is either immediately 'preceded' or 'followed' by
a sick absence entry) and yet in reality is a single continuous sick
absence as the unauthorised element is simply because the system has
not been updated with a medical certificate.
For info Sick Related Classifications are:-
Industrial Injury
Sickness
Long Term Sick
Unauthorised Absence
Unauthorised
5) In a nutshell I am looking to identify and put a count on separate
periods of continuous sick absence/unauthorised absences for each
employee.
6) What I would then like to do is produce a 'sick related and
unauthorised absence' report that lists each employee together with
the 'count' and then underneath each employee the relevant lines of
absence entry as well as inserting the warning (see separate warning
table) entry at the appropriate point in the absence entry date
history.
7) The report is then ordered by the employee with the most counts
This will allow me then to manually glance at the report to work out
if someone has breached the standard.
I suspect that access could actually be designed to actually pick out
those who breach the standard automatically but I don't want you to
spend too much time on this
I attach the database with dummy data
Hopefully I have explained this well.
Thanks in advance
Here is the problem
1) we have a daily clocking on and out system which records
absences/attendance at work as individual lines of entry. I am trying
to identify and count separate periods of 'sick related and
unauthorised absence entries' from a whole list of absence entries.
2) This is made even more difficult in that some of these absences
straddle the weekend, but as Sat/Sun is not a working day then the
entries are missing and yet such absences should only be regarded as
one single absence. The same could be said of absences straddling a
Bank/Public Holiday.
3) My reason for identifying SICK RELATED AND UNAUTHORISED ABSENCES is to determine whether the employee triggers consideration for a warning.
4) Both these absence types (sick and unauthorised absences) are
strangely treated the same, as invariably an absence entry is tagged
as unauthorised (but is either immediately 'preceded' or 'followed' by
a sick absence entry) and yet in reality is a single continuous sick
absence as the unauthorised element is simply because the system has
not been updated with a medical certificate.
For info Sick Related Classifications are:-
Industrial Injury
Sickness
Long Term Sick
Unauthorised Absence
Unauthorised
5) In a nutshell I am looking to identify and put a count on separate
periods of continuous sick absence/unauthorised absences for each
employee.
6) What I would then like to do is produce a 'sick related and
unauthorised absence' report that lists each employee together with
the 'count' and then underneath each employee the relevant lines of
absence entry as well as inserting the warning (see separate warning
table) entry at the appropriate point in the absence entry date
history.
7) The report is then ordered by the employee with the most counts
This will allow me then to manually glance at the report to work out
if someone has breached the standard.
I suspect that access could actually be designed to actually pick out
those who breach the standard automatically but I don't want you to
spend too much time on this
I attach the database with dummy data
Hopefully I have explained this well.
Thanks in advance