A
Alec Green
I need a quick way of calculating a persons age, so I can search on it. I
have a field called DateOfBirth, which holds the person Date of Birth. I
have used the following expression to calculate the age:
Age: DateDiff("y",[DateOfBirth],Date())/365
which appears to work, but if I put a search criteria on this (Between
[Start Age] And [End Age]) the results are incorrect.
I am I going about this the wrong way???
Regards
Alec
have a field called DateOfBirth, which holds the person Date of Birth. I
have used the following expression to calculate the age:
Age: DateDiff("y",[DateOfBirth],Date())/365
which appears to work, but if I put a search criteria on this (Between
[Start Age] And [End Age]) the results are incorrect.
I am I going about this the wrong way???
Regards
Alec