I am a new user of Access, and basically trying to teach myself to set up a database for employees' detail, annual leave and sickness episodes.
I have an employee and an absence table and would like to run a query to flag up more than 4 episodes of sickness in a given timescale.
My absence table contains the following fields:
Record ID (autonumber) - primary key
Employee ID - foreign key from personnel table
Absence Type (lookup list from Absence Code table)
Start Date
End Date
Hours Lost
Week Ending
Ongoing (yes/no check box)
New (yes/no check box)
I have set up the ongoing and new to sort out ongoing episodes of illness from new. I only want to flag up the 'new' episodes.
How would I go about this - every time I run the query it comes up with nothing when I try to count number of 'new' boxes...
I would really appreciate the help!
Thanks
I have an employee and an absence table and would like to run a query to flag up more than 4 episodes of sickness in a given timescale.
My absence table contains the following fields:
Record ID (autonumber) - primary key
Employee ID - foreign key from personnel table
Absence Type (lookup list from Absence Code table)
Start Date
End Date
Hours Lost
Week Ending
Ongoing (yes/no check box)
New (yes/no check box)
I have set up the ongoing and new to sort out ongoing episodes of illness from new. I only want to flag up the 'new' episodes.
How would I go about this - every time I run the query it comes up with nothing when I try to count number of 'new' boxes...
I would really appreciate the help!
Thanks