Well, I figured out I can do this:
IIF(Eval("Status")=1,"NOP", IIF(Eval("Status")=2, "Open",
IIF(Eval("Status")=3, "Win", IIF(Eval("Status")=4, "Closed", ""))))
Not sure if there's a better way but the above works. Open to suggestions
though.
Keith
lue - 10 Feb 2008 23:38 GMT
If you use VB.NET You can use "Choose" where the "status" is a variable
from 1 to 4
CStr(Choose("Status", "NOP", "Open", "Win", "Closed"))
Regards
> Well, I figured out I can do this:
>
[quoted text clipped - 5 lines]
>
> Keith
Keith G Hicks - 12 Feb 2008 05:11 GMT
Cool function. Thanks. Didn't know about that. :-)
Keith
> If you use VB.NET You can use "Choose" where the "status" is a variable
> from 1 to 4
[quoted text clipped - 11 lines]
> >
> > Keith