G
Guest
Hello,
I have a training database that keeps track of what trainings employees have
had.
Some trainings have expiry dates, eg. CPR expires after a year, First Aid
after 3 years, etc. Some training classes like "Communication" do not expire.
On my form, I have a field called Class Expires. I have the formula:
=dateadd("yyyy",3,[Class Date])
As you can see, it adds 3 years to every class date.
I would like to set in up in such a way that if CPR is chosen in class name,
once the class date is entered, it adds a year then displays the expiry date
for CPR in the Expires field. If First Aid is chosen, it adds 3 years. If a
class that doesn't have an expiry is chosen, the field remains blank.
My class names field is a combo box that looks up its values from my class
table.
Any help would be greatly appreciated!
I have a training database that keeps track of what trainings employees have
had.
Some trainings have expiry dates, eg. CPR expires after a year, First Aid
after 3 years, etc. Some training classes like "Communication" do not expire.
On my form, I have a field called Class Expires. I have the formula:
=dateadd("yyyy",3,[Class Date])
As you can see, it adds 3 years to every class date.
I would like to set in up in such a way that if CPR is chosen in class name,
once the class date is entered, it adds a year then displays the expiry date
for CPR in the Expires field. If First Aid is chosen, it adds 3 years. If a
class that doesn't have an expiry is chosen, the field remains blank.
My class names field is a combo box that looks up its values from my class
table.
Any help would be greatly appreciated!