G
Guest
I need to calculate total years’ full time experience (i.e. 2.5 years, 3.25
years, etc.) in an Access 2003 database form. This is what I am trying to
do: If the Full-Time End Date is Blank, use Today's Date, ELSE if the
Full-Time End Date has a Date, use that Date.
Separately, these two formulas work:
=DateDiff("m",[FullTimeStartDate],Now())/12
=DateDiff("m",[FullTimeStartDate],[FullTimeEndDate])/12
My problem is writing a statement to calculate using the END DATE if one is
entered, or NOW, if there is no end date. I have tried many combinations,
but can’t get it to work. Is there a better way to do this? I haven’t had
much experience writing these types of statements. HELP!
years, etc.) in an Access 2003 database form. This is what I am trying to
do: If the Full-Time End Date is Blank, use Today's Date, ELSE if the
Full-Time End Date has a Date, use that Date.
Separately, these two formulas work:
=DateDiff("m",[FullTimeStartDate],Now())/12
=DateDiff("m",[FullTimeStartDate],[FullTimeEndDate])/12
My problem is writing a statement to calculate using the END DATE if one is
entered, or NOW, if there is no end date. I have tried many combinations,
but can’t get it to work. Is there a better way to do this? I haven’t had
much experience writing these types of statements. HELP!