Hi
I have a database with a Date of Birth field. I have a query with a field that calculates the age from the Date of Birth (DateDiff("yyyy",[Date of Birth],Date())+Int(Format(Date(),"mmdd")<Format([Date of Birth],"mmdd")) and it works fine
As a criteria in this field I want to be able to select a minimum age. It works fine when I do, for example >=9. However when I do >=[ ] instead, the query does not work - it treats it as =[]
Anyone have any ideas about this?
Thanks in advance
Fran
I have a database with a Date of Birth field. I have a query with a field that calculates the age from the Date of Birth (DateDiff("yyyy",[Date of Birth],Date())+Int(Format(Date(),"mmdd")<Format([Date of Birth],"mmdd")) and it works fine
As a criteria in this field I want to be able to select a minimum age. It works fine when I do, for example >=9. However when I do >=[ ] instead, the query does not work - it treats it as =[]
Anyone have any ideas about this?
Thanks in advance
Fran