K
Kris R.
How does one prevent a #ERROR from appearing in a cell, with a formula like
this:
Iif ([Finish] > [Deadline],1,0)
in the cases where a deadline has not been defined for a task?(ie, it is
"NA")
I can't seem to trap the condition when a field is not defined.
IsDate([Deadline]) returns a true, because it's a date field, even if a date
hasn't been defined.
You can't do Iif ([Deadline] = "NA",1,0) because you can't compare a date to
a string.
You can't convert deadline to a string (Str() or Cstr())
I've tried everything I can think of!
How in the heck do you do this??
Thanks,
Kris R.
this:
Iif ([Finish] > [Deadline],1,0)
in the cases where a deadline has not been defined for a task?(ie, it is
"NA")
I can't seem to trap the condition when a field is not defined.
IsDate([Deadline]) returns a true, because it's a date field, even if a date
hasn't been defined.
You can't do Iif ([Deadline] = "NA",1,0) because you can't compare a date to
a string.
You can't convert deadline to a string (Str() or Cstr())
I've tried everything I can think of!
How in the heck do you do this??
Thanks,
Kris R.