Correct syntax for IIF with 2 arguments
Posted: Wed Dec 08, 2010 9:13 am
Hi,
I am trying to define IIF with 2 conditions. How am I supposed to write it?
I tried this:
but I am getting this error :
Thank you for your help.
I am trying to define IIF with 2 conditions. How am I supposed to write it?
I tried this:
Code: Select all
{IIF(Data.name.Substring(11,3)=="HF1",IIF(Data.important_data=="PARENT",Data.important_data,""))}
Should I use an "AND" operator?"no overload for method 'iif' takes '2' arguments"
Thank you for your help.