How to use the expression IIF

Stimulsoft Reports.NET discussion
Post Reply
almllery
Posts: 2
Joined: Sun Feb 07, 2010 8:43 am
Location: The Netherlands

How to use the expression IIF

Post 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?
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

How to use the expression IIF

Post 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.
Post Reply