How to select last page in “Print When Expression” in iReport

ireport

I want to print some specific details only on last page in iReport using $V{PAGE_NUMBER} and $V{PAGE_COUNT} variables. I don't want to use "Last page footer" or similar because it doesn't fit in my desired position.
When I type $V{PAGE_NUMBER}.equals($V{PAGE_COUNT}) condition in "Print When Expression", nothing happens. Any suggestions?
Also, is there any place where I can see the description of variables and other features in iReport?

Many thanks!

Best Answer

I found the solution. Creating new group above all groups will solve the problem. In that group footer you enter things you want to see only on last page

Related Topic