How do you explain that? (IIF function doesn't work)
Posted: Tue Jan 06, 2015 7:58 pm
Hello, I'm new here, so sorry if I created this topic in the wrong session or something.
I have 2 problems as it follows:
1)
This works fine:
{IsLastPage == false ?"false" : "true"}
This doesn't work, and always print the word "false":
{IIF((IsLastPage == false), "false","true")}
this neither...
{IIF((IsLastPage), "true","false")}
Why?
2) I am trying some form of concatenating conditions without using the "Condition" option in "Properties". Is it possible to write something like this:
{IIF((IsLastPage == true && Data.TotalsNeedToBePrinted == true), "Totals are printed here", "Totals are in the LAST PAGE")}
Thanks in advance,
I have 2 problems as it follows:
1)
This works fine:
{IsLastPage == false ?"false" : "true"}
This doesn't work, and always print the word "false":
{IIF((IsLastPage == false), "false","true")}
this neither...
{IIF((IsLastPage), "true","false")}
Why?
2) I am trying some form of concatenating conditions without using the "Condition" option in "Properties". Is it possible to write something like this:
{IIF((IsLastPage == true && Data.TotalsNeedToBePrinted == true), "Totals are printed here", "Totals are in the LAST PAGE")}
Thanks in advance,