I have an long iff statement to show different values based on data in a field. Oddly, if I have two issues. The result of the IFF will not display a 0. Or if the data field is for example "4000VAC" it will not display 32000 either.
So in the example below, if the selection is "OTHER", 0 will not be shown and if the selection is 4000VAC, 32000 will not be shown either.
The table tanks fields are text and are relational to another table.
Expr3: IIf([tb_Order_Scheduling]![Tank]="64000",7500,IIf([tb_Order_Scheduling]![Tank]="40000",5000,IIf([tb_Order_Scheduling]![Tank]="33500",4000,IIf([tb_Order_Scheduling]![Tank]="24000",3000,IIf([tb_Order_Scheduling]![Tank]="8000",1200,IIf([tb_Order_Scheduling]![Tank]="OTHER",0,IIf([tb_Order_Scheduling]![Tank]="4000VAC",32000)))))))
So in the example below, if the selection is "OTHER", 0 will not be shown and if the selection is 4000VAC, 32000 will not be shown either.
The table tanks fields are text and are relational to another table.
Expr3: IIf([tb_Order_Scheduling]![Tank]="64000",7500,IIf([tb_Order_Scheduling]![Tank]="40000",5000,IIf([tb_Order_Scheduling]![Tank]="33500",4000,IIf([tb_Order_Scheduling]![Tank]="24000",3000,IIf([tb_Order_Scheduling]![Tank]="8000",1200,IIf([tb_Order_Scheduling]![Tank]="OTHER",0,IIf([tb_Order_Scheduling]![Tank]="4000VAC",32000)))))))