J
Jim Puls
I'm having difficulty using the Project Schedule enterprise project text
field provided in the Project Server sample database:
Switch(Len(CStr([Baseline Finish]))<3,"No baseline",ProjDateDiff([Baseline
Finish],[Finish])/480>=5,"Late by more than 5 days",ProjDateDiff([Baseline
Finish],[Finish])/480>0,"Late",True,"On schedule")
It's odd, because I'm pretty sure it worked fine when Project Server 2003
was released, but now something seems to have changed! The system I'm
working with is up to date in patches and service packs, afaik. In
particular, when I have a project with no baseline, I get "#ERROR" rather
than "No baseline". A baselined project correctly produces "Late by more
than 5 days", "Late" or "On schedule".
My understanding is that with no baseline, [Baseline Finish] should be "NA",
which is two characters long, so Len(CStr([Baseline Finish])) should be 2.
I've also tried Gaurav Wason's ng formula IIf(CDbl([Baseline
Finish])>60000,"Not Baselined","Baselined")
which works ok stand alone, but when incorporated into a four way Switch,
also produces #ERROR.
Any suggestions?
Thanks,
Jim
field provided in the Project Server sample database:
Switch(Len(CStr([Baseline Finish]))<3,"No baseline",ProjDateDiff([Baseline
Finish],[Finish])/480>=5,"Late by more than 5 days",ProjDateDiff([Baseline
Finish],[Finish])/480>0,"Late",True,"On schedule")
It's odd, because I'm pretty sure it worked fine when Project Server 2003
was released, but now something seems to have changed! The system I'm
working with is up to date in patches and service packs, afaik. In
particular, when I have a project with no baseline, I get "#ERROR" rather
than "No baseline". A baselined project correctly produces "Late by more
than 5 days", "Late" or "On schedule".
My understanding is that with no baseline, [Baseline Finish] should be "NA",
which is two characters long, so Len(CStr([Baseline Finish])) should be 2.
I've also tried Gaurav Wason's ng formula IIf(CDbl([Baseline
Finish])>60000,"Not Baselined","Baselined")
which works ok stand alone, but when incorporated into a four way Switch,
also produces #ERROR.
Any suggestions?
Thanks,
Jim