Page 1 of 1

How to use the expression IIF

Posted: Mon Dec 19, 2011 9:59 am
by almllery
Hi all,

I want to create an expression within a text editor like hereunder:

{IIF([ShippingOrder.countryname] = "N/A","Country No","Country Yes")}

What am I doing wrong?

How to use the expression IIF

Posted: Tue Dec 20, 2011 2:58 am
by HighAley
Hello.
almllery wrote:I want to create an expression within a text editor like hereunder:

{IIF([ShippingOrder.countryname] = "N/A","Country No","Country Yes")}

What am I doing wrong?
Please, try to use next expression:

Code: Select all

{IIF(ShippingOrder.countryname = "N/A","Country No","Country Yes")}
Thank you.