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)
how to identify last page
attiq76
Hi,
Is there a way to identify that the current page is the last page of the report? I want to do this in Java/Javascript.
I want to show a value as 0 on the last page of the report.
Regards,
Attiq ur-Rehman
Find more posts tagged with
Comments
mwilliams
Hi Attiq,<br />
<br />
<br />
There is a variable called totalPage, I believe, but last I knew, it didn't work correctly. You could possibly figure the total pages based on the number of records and your page break interval if your line heights are static. This devShare post shows how to use java reflection to get the value for total pages. It may halp in your situation.<br />
<br />
<a class='bbc_url' href='
http://www.birt-exchange.org/devshare/designing-birt-reports/929-using-reflection-to-get-total-page-count-during-render-time/#description'>Using
Reflection to Get Total Page Count During Render Time - Designs & Code - BIRT Exchange</a>