Hi,
I work with a report in Access 2000 that I should change it. I need to use three values,361, 362 and 363.
As an example, if Tot_num = 133, in this field should be shown 3613. I wrote this :
IIf(Left([Tot_num];2)="12";"";"363" & Right([Tot_num];1)),IIf(Left([Tot_num];2)="11";"";"362" & Right([Tot_num];1)),IIf(Left([Tot_num];2)="13";"";"361" & Right([Tot_num];1))
But when I open the report it shows me a message that it has a syntax error.
Could you help me with that? How can I use multi IIF in reports?
Thanks in advance.
I work with a report in Access 2000 that I should change it. I need to use three values,361, 362 and 363.
As an example, if Tot_num = 133, in this field should be shown 3613. I wrote this :
IIf(Left([Tot_num];2)="12";"";"363" & Right([Tot_num];1)),IIf(Left([Tot_num];2)="11";"";"362" & Right([Tot_num];1)),IIf(Left([Tot_num];2)="13";"";"361" & Right([Tot_num];1))
But when I open the report it shows me a message that it has a syntax error.
Could you help me with that? How can I use multi IIF in reports?
Thanks in advance.