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,
How do you explain that? (IIF function doesn't work)
-
- Posts: 19
- Joined: Tue Jan 06, 2015 7:39 pm
Re: How do you explain that? (IIF function doesn't work)
Hello,
Sorry for the delay with responce.
We need some time for check the issue.
Thank you.
Sorry for the delay with responce.
We need some time for check the issue.
Thank you.
-
- Posts: 19
- Joined: Tue Jan 06, 2015 7:39 pm
Re: How do you explain that? (IIF function doesn't work)
Waiting. Thank you.
Re: How do you explain that? (IIF function doesn't work)
Hello,
From our documentation, article "System Variables":
"IsLastPage - Returns true, if, in the current moment, the last page of a report is printed. For correct calculation of a variable it is required to execute two passes."
In some cases this variable can work correctly in SinglePass mode, but we guarantee correct behaviour only in case of DoublePass mode.
So please set the NumberOfPass property of the report to the DoublePass.
Thank you.
From our documentation, article "System Variables":
"IsLastPage - Returns true, if, in the current moment, the last page of a report is printed. For correct calculation of a variable it is required to execute two passes."
In some cases this variable can work correctly in SinglePass mode, but we guarantee correct behaviour only in case of DoublePass mode.
So please set the NumberOfPass property of the report to the DoublePass.
Thank you.