Hi, I am new to the forum and Access, and have the task of creating a database for the employees at work.
I have my table of personnel set up, and a form to enter their data, which includes Employee ID, Title (lookup table), name, surname, address 1, 2, 3, town, county, postcode, Home, work and Tel nos, DOB, Job Title (lookup table) and contracted hours and notes.
I want to make a sub-table to show their absences, and more importantly their sickness rate.
I thought of setting up one with their ID, record ID of absence episode, absence code, (say SL for sickness,AL for annual leave etc from lookup table), date started, date finished and hours lost, (as we work in hours for holiday and sick).
What we want is to be able to run a query that would flag all of the employees that have had more than 4 episodes of sickness within a given time scale. How would I do that? Also If I choose annual leave and have a field for holiday entitlement (so many hours) can I get access to work out a running total of how many hours they have left to take, if I then have a field for hours taken for that absence?
Can any kind soul help? I am a beginner - so I know how to run a simple query, and I know where the expression builder is etc but would need a bit of a step-by-step guide.
P.S. I am using 2003.
I would be really grateful!
Amanda x
I have my table of personnel set up, and a form to enter their data, which includes Employee ID, Title (lookup table), name, surname, address 1, 2, 3, town, county, postcode, Home, work and Tel nos, DOB, Job Title (lookup table) and contracted hours and notes.
I want to make a sub-table to show their absences, and more importantly their sickness rate.
I thought of setting up one with their ID, record ID of absence episode, absence code, (say SL for sickness,AL for annual leave etc from lookup table), date started, date finished and hours lost, (as we work in hours for holiday and sick).
What we want is to be able to run a query that would flag all of the employees that have had more than 4 episodes of sickness within a given time scale. How would I do that? Also If I choose annual leave and have a field for holiday entitlement (so many hours) can I get access to work out a running total of how many hours they have left to take, if I then have a field for hours taken for that absence?
Can any kind soul help? I am a beginner - so I know how to run a simple query, and I know where the expression builder is etc but would need a bit of a step-by-step guide.
P.S. I am using 2003.
I would be really grateful!
Amanda x
Last edited: