Hi,
Following Expression : {(DataBand.EV_ID==null ? DataBand.OPP_TYPE : DataBand.EV_TYPE)} has worked fine in Flex version of Stimulsoft.
The same expression renders blank in version 2019.2.3 based on Java.
Can you please help?
Thanks.
If Else not working in new version
-
- Posts: 6245
- Joined: Tue Mar 20, 2018 5:34 am
Re: If Else not working in new version
Hello,
You can use the IIF() function:
{IIF(DataBand.EV_ID==null, DataBand.OPP_TYPE, DataBand.EV_TYPE)}
Thank you.
You can use the IIF() function:
{IIF(DataBand.EV_ID==null, DataBand.OPP_TYPE, DataBand.EV_TYPE)}
Thank you.
Re: If Else not working in new version
Thank you, Lech.
This works (I had tried Length() too - which had worked as well), but I have multiple reports across clients which uses {(Column1==null ? Column2 : Column1)}. Can't the original expression work?
Appreciate your help on this.
This works (I had tried Length() too - which had worked as well), but I have multiple reports across clients which uses {(Column1==null ? Column2 : Column1)}. Can't the original expression work?
Appreciate your help on this.
Re: If Else not working in new version
Also, can you please let me know the reason original expression is not supported in Java version?
-
- Posts: 6245
- Joined: Tue Mar 20, 2018 5:34 am
Re: If Else not working in new version
Hello,
Please send us a sample report with test data which reproduces the issue for analysis.
Thank you.
Please send us a sample report with test data which reproduces the issue for analysis.
Thank you.