J
JudyB
I have a database that automatically calculates an employee’s service time in
each Job Classification that he/she works in. I have used the following
expression in the control source property of the form:
=DSum("[WeeksService]","Service Record Query","[EmployeeID] = " &
[EmployeeID] & " And [JobTitleName] = Current_Job_Title_Name")
All works well, but now I must modify or make an addition to that code so
that it will also include any service time an employee may work in any job
title that is above his/her current job title in the line of progression
(LOP). For example:
Joe Brown is currently working as a Winder Technician (LOP = 1.1.05) where
he has 52 weeks service. Prior to that position, he had worked as a Dry End
Technician (LOP = 1.1.04) which is a higher job classification and where he
had 25 weeks service. What do I need to do to get the program to
automatically add the 25 weeks served in the higher job classification to the
employee’s current job classification of 52 weeks service to give me a total
time served of 77 weeks? I hope this is clear. Can anyone help? Thanks!
each Job Classification that he/she works in. I have used the following
expression in the control source property of the form:
=DSum("[WeeksService]","Service Record Query","[EmployeeID] = " &
[EmployeeID] & " And [JobTitleName] = Current_Job_Title_Name")
All works well, but now I must modify or make an addition to that code so
that it will also include any service time an employee may work in any job
title that is above his/her current job title in the line of progression
(LOP). For example:
Joe Brown is currently working as a Winder Technician (LOP = 1.1.05) where
he has 52 weeks service. Prior to that position, he had worked as a Dry End
Technician (LOP = 1.1.04) which is a higher job classification and where he
had 25 weeks service. What do I need to do to get the program to
automatically add the 25 weeks served in the higher job classification to the
employee’s current job classification of 52 weeks service to give me a total
time served of 77 weeks? I hope this is clear. Can anyone help? Thanks!