M
Marge
I have an Employee Roster database; one of the tables tracks up to 9
promotions, transfers, reassignments, etc. (called "Movements"), and their
related dates for each employee. Some Movements effect an employee's
evaluation date, where other dates do not effect the evaluation date. The
Movement Dates each have a related true/false field to indicate whether the
employee's evaluation date will change because of the Movement.
Movement Date 1 Evaluation change 1 Movement Date 2 Evaluation change 2
1/25/08 False 3/7/09
True
11/3/07 True 6/5/98
False
With the NZ function I can ask the query to check for the most recent of the
9 Movement Dates or to return the Hire Date if no Movement Date is found:
Eval Date: NZ([movement date 9],NZ([movement date 8],NZ([movement date
7],NZ([movement date 6],NZ([movement date 5],NZ([movement date
4],NZ([movement date 3],NZ([movement date 2],NZ([movement date 1],[T-PD
Roster.hire date])))))))))
What I need to do is to ask the query to check for the most recent of the 9
Movement Dates that have a True Evaluation change field.
I think I need to use an IIF statement to isolate the True dates.
I could really use your help; any assistance will be greatly appreciated.
promotions, transfers, reassignments, etc. (called "Movements"), and their
related dates for each employee. Some Movements effect an employee's
evaluation date, where other dates do not effect the evaluation date. The
Movement Dates each have a related true/false field to indicate whether the
employee's evaluation date will change because of the Movement.
Movement Date 1 Evaluation change 1 Movement Date 2 Evaluation change 2
1/25/08 False 3/7/09
True
11/3/07 True 6/5/98
False
With the NZ function I can ask the query to check for the most recent of the
9 Movement Dates or to return the Hire Date if no Movement Date is found:
Eval Date: NZ([movement date 9],NZ([movement date 8],NZ([movement date
7],NZ([movement date 6],NZ([movement date 5],NZ([movement date
4],NZ([movement date 3],NZ([movement date 2],NZ([movement date 1],[T-PD
Roster.hire date])))))))))
What I need to do is to ask the query to check for the most recent of the 9
Movement Dates that have a True Evaluation change field.
I think I need to use an IIF statement to isolate the True dates.
I could really use your help; any assistance will be greatly appreciated.