A
Ady
Hi All
I have a query that works out the age of a person from their birth date. The
formula for this is:
AgeInYears: DateDiff("m",[Date of Birth],Now())/12
This works fine.
I then have another field in the query that display a message if the age
worked out in this query is less than 18:
AGE: IIf([AgeInYears]<"18","Possible Age Restriction")
This works, but only under certain conditions. If a persons age is in
single figures the message will not display. I have one record where the age
is 8.33 and the formula does not work.
Any assistance offered would be most appreciated. Many thanks in advance.
I have a query that works out the age of a person from their birth date. The
formula for this is:
AgeInYears: DateDiff("m",[Date of Birth],Now())/12
This works fine.
I then have another field in the query that display a message if the age
worked out in this query is less than 18:
AGE: IIf([AgeInYears]<"18","Possible Age Restriction")
This works, but only under certain conditions. If a persons age is in
single figures the message will not display. I have one record where the age
is 8.33 and the formula does not work.
Any assistance offered would be most appreciated. Many thanks in advance.