I’m trying to calculate the age from date of birth. In the query design grid I have this
AGE: IIf([DOB]>Date(),DateDiff(“yyyy”,[DOB],Date())-1,DateDiff(“yyyy”,[DOB],Date()))
I know my problem is in the expression if the IIF statement. But how do I compare month and day from DOB to month and day from Date() (todays date). Anyone following me here?? Thanks to all in advance.
Jols