D
Debbie
This is an unbound in a form
I noticed that this part of the formula is not calculating correct.
For example [DOB] is 2/27/07 and the answer comes back 8 months. The
child is 7 months until Octboer 27th. Does anyone know what I did
wrong in this formula.
This is the part that is wrong: IIf(DateDiff("m",
[DOB],Date())<24,DateDiff("m",[DOB],Date()) & " Months",
This is the actual formula:
=IIf(DateDiff("d",[DOB],Date())<60,DateDiff("ww",[DOB],Date()) & "
Weeks",IIf(DateDiff("m",[DOB],Date())<24,DateDiff("m",[DOB],Date()) &
" Months",Int(DateDiff("m",[DOB],Date())/12) & " Years"))
I noticed that this part of the formula is not calculating correct.
For example [DOB] is 2/27/07 and the answer comes back 8 months. The
child is 7 months until Octboer 27th. Does anyone know what I did
wrong in this formula.
This is the part that is wrong: IIf(DateDiff("m",
[DOB],Date())<24,DateDiff("m",[DOB],Date()) & " Months",
This is the actual formula:
=IIf(DateDiff("d",[DOB],Date())<60,DateDiff("ww",[DOB],Date()) & "
Weeks",IIf(DateDiff("m",[DOB],Date())<24,DateDiff("m",[DOB],Date()) &
" Months",Int(DateDiff("m",[DOB],Date())/12) & " Years"))