I am trying to figure out how many vacations a person used given their start date to the current date. The problem is each employees range is different. Example:
Name StartDate TodaysDate VacationDaysUsed
John Doe 1/1/01 2/20/02 8
Mary Jane 6/1/01 2/20/02 9
Mike Smith 9/1/01 2/20/02 6
qry_Vactions
Field1 = EmployeeID
Field2 = StartDate
Field3 = TodaysDate
tbl_Attendance
Field1 = DayType (Vacation, Sick)
Field2 = Date
I formed a Query linking qry_Vactions and tbl_attendace.
How do I get Access to Count Vaction and Sick day totals by employees if it fall in between StartDate and TodaysDate?
Any Suggestions?
Thanks,
Steve
Name StartDate TodaysDate VacationDaysUsed
John Doe 1/1/01 2/20/02 8
Mary Jane 6/1/01 2/20/02 9
Mike Smith 9/1/01 2/20/02 6
qry_Vactions
Field1 = EmployeeID
Field2 = StartDate
Field3 = TodaysDate
tbl_Attendance
Field1 = DayType (Vacation, Sick)
Field2 = Date
I formed a Query linking qry_Vactions and tbl_attendace.
How do I get Access to Count Vaction and Sick day totals by employees if it fall in between StartDate and TodaysDate?
Any Suggestions?
Thanks,
Steve