G
Guest
I would like to find a code for a table to automatically
calculate the age. I would like to do it in the table. I
found code for doing it in the form but from the short
date format. I cannot and do not want to change the date
format.
the code for the form is as follows: =DateDiff("yyyy",
[Birthdate,Now())+Int(Format(now(),"mmdd")<Format
([Birthdate],"mmdd"))
I tryed playing with it around but I cannot get it to work.
Thank you.
calculate the age. I would like to do it in the table. I
found code for doing it in the form but from the short
date format. I cannot and do not want to change the date
format.
the code for the form is as follows: =DateDiff("yyyy",
[Birthdate,Now())+Int(Format(now(),"mmdd")<Format
([Birthdate],"mmdd"))
I tryed playing with it around but I cannot get it to work.
Thank you.