G
Guest
Hello,
I am trying to keep track of what trainings employees have had, as well as
their expiry dates. The problem is that only 4 classes have expiry dates, the
other 12 (and growing) do not.
I would like to include a statement in a field that would show when the
classes that have expiry dates expire, and leave blank the classes that do
not.
For example, First Aid expires after 3 years, CPR expires after a year. I
used the IIF statement =DateAdd("yyyy",IIf([Class Name]='CPR',1,3),[Class
Date]) but this adds 3 years to every class, even to the ones that have no
expiry dates.
Is there a better way to do this other than working on nesting a very long
IIF?
Almost pulling my hair out,
John.
I am trying to keep track of what trainings employees have had, as well as
their expiry dates. The problem is that only 4 classes have expiry dates, the
other 12 (and growing) do not.
I would like to include a statement in a field that would show when the
classes that have expiry dates expire, and leave blank the classes that do
not.
For example, First Aid expires after 3 years, CPR expires after a year. I
used the IIF statement =DateAdd("yyyy",IIf([Class Name]='CPR',1,3),[Class
Date]) but this adds 3 years to every class, even to the ones that have no
expiry dates.
Is there a better way to do this other than working on nesting a very long
IIF?
Almost pulling my hair out,
John.