S
Susan
I am trying to show current ages on a report. I've tried two different
formulas, and on each the ages show up as years such as 1915, 1920, etc. The
funny thing is that both formulas work fine in other reports in the same
database...just not this one. I've even tried to copy and paste each from a
report that works, still no luck. The formulas I've tried are:
=DateDiff("yyyy",[DOB],Now())+Int(Format(Now(),"MMDD")<Format([DOB],"mmdd"))
and
=DateDiff("yyyy",[DOB],Date())-IIf9Format([DOB],"mmdd")>Format(Date(),"mmdd"),1,0)
Any ideas as to what is going on?
formulas, and on each the ages show up as years such as 1915, 1920, etc. The
funny thing is that both formulas work fine in other reports in the same
database...just not this one. I've even tried to copy and paste each from a
report that works, still no luck. The formulas I've tried are:
=DateDiff("yyyy",[DOB],Now())+Int(Format(Now(),"MMDD")<Format([DOB],"mmdd"))
and
=DateDiff("yyyy",[DOB],Date())-IIf9Format([DOB],"mmdd")>Format(Date(),"mmdd"),1,0)
Any ideas as to what is going on?