B
BrookieOU
I am trying to track employee attendance. Currently I have:
Employee Table:
Autonumber
Name
Vacation Available
Sick Available
Personal Time Available
Attendance Table:
Autonumber
Name (Look up from Employees Table)
Date
Hours Taken
Reason (Look up from list -- vacation, sick, personal)
What I want to do is to be able to calculate how much leave time they have
remaining and print it in a report. I have been able to do a query where I
use the "if function" to tell me if the reason is "vacation" to subtract
vacation available from Sum of Hours taken to give me a total. The problem
I'm having is I have to do 3 different queries...one for vacation, one for
sick, one for personal. I want to be able to print a report that will show
each employee, total numbers of hours taken per reason and total number of
hours they have left (all in one report). Any ideas?
Thanks,
Brooke
Employee Table:
Autonumber
Name
Vacation Available
Sick Available
Personal Time Available
Attendance Table:
Autonumber
Name (Look up from Employees Table)
Date
Hours Taken
Reason (Look up from list -- vacation, sick, personal)
What I want to do is to be able to calculate how much leave time they have
remaining and print it in a report. I have been able to do a query where I
use the "if function" to tell me if the reason is "vacation" to subtract
vacation available from Sum of Hours taken to give me a total. The problem
I'm having is I have to do 3 different queries...one for vacation, one for
sick, one for personal. I want to be able to print a report that will show
each employee, total numbers of hours taken per reason and total number of
hours they have left (all in one report). Any ideas?
Thanks,
Brooke