Hi
I have a table with fields for DOB and Age.
On the form I would like to automate the age based on the DOB. I have this formula that was in an unbound field and worked, but i cant get it to work on the bound field:
=DateDiff("yyyy",[DOB],Now())+Int(Format(Now(),"mmdd")<Format([DOB],"mmdd"))
Additionally, I dont always have the DOB, so i want to be able to type an age in too, (however the priority should be to calc the age if the dob exists).
Please could you help?
Thanks
I have a table with fields for DOB and Age.
On the form I would like to automate the age based on the DOB. I have this formula that was in an unbound field and worked, but i cant get it to work on the bound field:
=DateDiff("yyyy",[DOB],Now())+Int(Format(Now(),"mmdd")<Format([DOB],"mmdd"))
Additionally, I dont always have the DOB, so i want to be able to type an age in too, (however the priority should be to calc the age if the dob exists).
Please could you help?
Thanks