Hi, I have a query with an expression field that calculates the number
of days late by subtracting the due date from the completion date.
This of course means that if a task was completed on-time, the number
will be negative. Since I want to display both late and on-time tasks,
is there a way to display negative numbers as '0'? Thanks!
Xavier
KARL DEWEY - 14 Sep 2006 23:42 GMT
IIF([YourSubtraction]<0, 0,[YourSubtraction])
OR
IIF([YourSubtraction]<0, "On-time",[YourSubtraction])
> Hi, I have a query with an expression field that calculates the number
> of days late by subtracting the due date from the completion date.
[quoted text clipped - 3 lines]
>
> Xavier