M
moving the database
Hello,
I want to know why when I use the DateDiff expression on one datebase, it
works fine, but when I attempt to use the same expression again to another
database it does not work. When I switch to the form view in that field I
see "#name". I have checked my expression and the field that it picks up the
values. They are exactly the same as the previous database. I would
appreciate if someone can suggest anything. I have a feeling its to do with
some property in the database that has been changed. The expression is :
=DateDiff("yyyy",[Birthdate],Now())+Int(Format(Now(),"mmdd")<Format([Birthdate],"mmdd"))
I want to know why when I use the DateDiff expression on one datebase, it
works fine, but when I attempt to use the same expression again to another
database it does not work. When I switch to the form view in that field I
see "#name". I have checked my expression and the field that it picks up the
values. They are exactly the same as the previous database. I would
appreciate if someone can suggest anything. I have a feeling its to do with
some property in the database that has been changed. The expression is :
=DateDiff("yyyy",[Birthdate],Now())+Int(Format(Now(),"mmdd")<Format([Birthdate],"mmdd"))