R
René
I am trying to set up my reports and forms to tell me how long my employees have worked for me. I added a field that says Term Date and another that just say Today. I can query In-Active employees to get a date, this one is easy as they have a term date listed. How do I have the form show emp length, it would have to be an if statement of some sort, if Term Date is null then Today - Hire Date . etc
For the active employees I was using thi
[Emp Length] = DateDiff("yyyy", [Hire Date], Now()) + Int(Format(Now(), "mmdd") < Format([Hire Date], "mmdd")
I tried to add decimals but that didn't work, I also replaced the "yyyy" with "mmmm" and that didn't work either
by the way, I'm a beginner but pretty stubborn! Any help is greatly appreciated
For the active employees I was using thi
[Emp Length] = DateDiff("yyyy", [Hire Date], Now()) + Int(Format(Now(), "mmdd") < Format([Hire Date], "mmdd")
I tried to add decimals but that didn't work, I also replaced the "yyyy" with "mmmm" and that didn't work either
by the way, I'm a beginner but pretty stubborn! Any help is greatly appreciated