D
David Mulholland
I'm working on a query that bouncing dates against one another. I think it
needs nested IIf statements, but my brain just can't seem to put it all
together. I'd like it to work in a single query to keep things trim and
because I'll need to modify it for 8 different cases.
Last_Promotion (already captured)
Eligibility_date (calculated field - Last_Promotion + 4 months)
Cutoff (will be criteria)
Hire
Promotion
I need to come up with something that says:
[Promotion] = [Eligibility_date]
If [Hire] is populated, then [Promotion] = [Hire] +1 day
If [Hire] is null, [Promotion] = [Eligibility_date] or ([Cutoff] - 4 months)
whichever is greater.
I've seem some good stuff here and what you guys can come up with. I've used
knowledge from here and it's really made my job easier. Hope you guys don't
disappoint. Pre-thanks to all!!
needs nested IIf statements, but my brain just can't seem to put it all
together. I'd like it to work in a single query to keep things trim and
because I'll need to modify it for 8 different cases.
Last_Promotion (already captured)
Eligibility_date (calculated field - Last_Promotion + 4 months)
Cutoff (will be criteria)
Hire
Promotion
I need to come up with something that says:
[Promotion] = [Eligibility_date]
If [Hire] is populated, then [Promotion] = [Hire] +1 day
If [Hire] is null, [Promotion] = [Eligibility_date] or ([Cutoff] - 4 months)
whichever is greater.
I've seem some good stuff here and what you guys can come up with. I've used
knowledge from here and it's really made my job easier. Hope you guys don't
disappoint. Pre-thanks to all!!