Jump to content
Changes to the Jaspersoft community edition download ×

Print Column Footer When Expression


mckeaveney

Recommended Posts

Hi

 

I only want to display the column footer on the last page. I cant put this in the last page footer as i want the column footer to appear before the actual page footer.

 

Using other posts i have created 2 new variables. One called CURRENT_PAGE which has reset type of Page-

 

<variable name="CURRENT_PAGE" class="java.lang.Integer" resetType="Page" incrementType="Page" calculation="Nothing">

<variableExpression><![CDATA[$V{PAGE_NUMBER}]]></variableExpression>

</variable>

 

And one called Page_COUNTER which has reset type of Report.

 

<variable name="PAGE_COUNTER" class="java.lang.Integer" resetType="Report" incrementType="Report" calculation="Nothing">

<variableExpression><![CDATA[$V{PAGE_NUMBER}]]></variableExpression>

 

Then on my text field that i want to be the column footer i have the following condition in the Print When Expression -

 

new Boolean($V{CURRENT_PAGE}.equals($V{PAGE_COUNTER}))

 

But this is not working as i am seeing the column footer on every page.

 

Has anyone been able to achieve this successfully - or point me the right direction of what i am missing

 

Thanks

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...