Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
If Else
mdu_gprabh
I am trying the following code in the Data binding.
if (params["code"] == '1'){"2008-06-01"}
else if(params["code"] == '2'){"2008-06-02"}
Even if the value of code is 2 it is returning 2008-06-01.
Thanks in Advance,
Prabu G
Find more posts tagged with
Comments
Tianli
Hi,
I tried your code and it worked in my build. Pls see attached and is there any difference from your case?
mdu_gprabh
Thank you for your support. But the version is not supporting and my version is Actuate BIRT 2.2.2.
Thanks,
Prabu G
mwilliams
Hi Prabu G,
I used your code in a data binding in 2.2.2 and got the expected results. Can you attach your report design so that I can see how you're doing it?