I have a date of birth (DOB) for each person in my db. I need to calculate a mandatory retirement ages for some. I have created a Yes/No checkbox to indicate if they have a mandatory retirement date.
To calculate the date I have DateAdd("yyy", 56, [DOB]) and that works great!
I only want to show the mandatory retirement date if the checkbox is checked, otherwise it would be blank (or better yet, not shown at all)
I think I need an IIF statement ?? IIF(([Checkbox]=-1, ???????
Any help is greatly appreciated!!!