MsLady
Traumatized by Access
- Local time
- Today, 01:11
- Joined
- Jun 14, 2004
- Messages
- 438
Hello friends,
I have this as a control source on a txtbox on my report.
I get the error, "The expression you entered contains the wrong number of arguments"
Here's what i am trying to get:
statusCode --- shortStat
0 = BOR/Scope
1 = Pri
2 = In Prog
3 = Compl
4 = Held
5 = Not Strt
6 = Defer
7 = UAT
8 = Closed
9 = Reqmts
Help me here please? I am stuck
*begging*
I have this as a control source on a txtbox on my report.
I get the error, "The expression you entered contains the wrong number of arguments"

Code:
=IIF(([MinOfStatusCode]=0,"BOR/Scope",IIF([MinOfStatusCode]=1,
"Pri",IIF([MinOfStatusCode]=2,"In Prog",IIF([MinOfStatusCode]=3,"Compl",
IIF([MinOfStatusCode]=4,"Held",IIF([MinOfStatusCode]=5,"Not Strt",
IIF([MinOfStatusCode]=6,"Defer",IIF([MinOfStatusCode]=7,"UAT",
IIF([MinOfStatusCode]>7,"Closed",""))))))))))
Here's what i am trying to get:
statusCode --- shortStat
0 = BOR/Scope
1 = Pri
2 = In Prog
3 = Compl
4 = Held
5 = Not Strt
6 = Defer
7 = UAT
8 = Closed
9 = Reqmts
Help me here please? I am stuck
