I have a field where the values are limited to 5 or 6 values, e.g., 162,600,400, etc, but the field data type is text. the numbers are not to be used in calculations, they are just parts of a name.(162S124-18) What I want to do is, in another field, return a different string for each of the values.
I've areadey done this with nested iif functions with no problem, the only difference is in this case I want to return text intead of numerica characters, and it won't except this.
Here is an example of a function that work's:
IIf([Mils]=18,25,IIf([Mils]=27,22,IIf([Mils]=30,20,IIf([Mils]=33,20,IIf([Mils]=43,18,IIf([Mils]=54,16,IIf([Mils]=68,14,IIf([Mils]=97,12,0))))))))
Now If i take this same function and as the true argument,enter, S, or "S", it returns an error. If I enter the true argument as "S", It allowws the expression to go, but whne I save it I get the error.
Does anyone know what I'm doing wrong?