G
Guest
I have a post on the 4/8/05 with this same title and it starts my problem.
someone gave me some advice but it tell me "The expression you've entered
contains invalid syntax. you may have entered a comma with out a preceding
value or identifier."
I don't understand what's wrong with my expression. This is my expression:
=IIF(Is Null([txthiredate]), "TEMP EMPLOYEE",
DateDiff("yyyy",[txthiredate],[txtdateofinjury])+(Format([txthiredate],"mmdd")>Format([txtdateofinjury],"mmdd"))
txthiredate = date of hire for an employee
txtdateofinjury = date the employee was injured
If someone can tell me what I've done wrong I would appreciate that very
much. Thank you in Advance.
Travis
someone gave me some advice but it tell me "The expression you've entered
contains invalid syntax. you may have entered a comma with out a preceding
value or identifier."
I don't understand what's wrong with my expression. This is my expression:
=IIF(Is Null([txthiredate]), "TEMP EMPLOYEE",
DateDiff("yyyy",[txthiredate],[txtdateofinjury])+(Format([txthiredate],"mmdd")>Format([txtdateofinjury],"mmdd"))
txthiredate = date of hire for an employee
txtdateofinjury = date the employee was injured
If someone can tell me what I've done wrong I would appreciate that very
much. Thank you in Advance.
Travis