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)
Using the pageNumber in expressions
nvolpini
Hi,
I'm trying to use the "pageNumber" variable inside expressions but it is returning the number "1" for all pages.
I thought it was a problem with pageBreakInterval however I tried with "0" (dynamic interval) and static values but the "pageNumber" is always "1".
I'm using BIRT 2.3.0.v20080618-0630
I need to use the pageNumber because my report's page counting have to start with a value provided by parameter.
Ex:
params["startPage"].value+pageNumber
Any ideas or suggestions?
Find more posts tagged with
Comments
mwilliams
Hi nvolpini,
I'll see if I can figure something out to help you. Currently I'm only getting it to return 1 unless I actually put the text box or data element in the report.
nvolpini
<blockquote class='ipsBlockquote' data-author="mwilliams"><p>Hi nvolpini,<br />
<br />
I'll see if I can figure something out to help you. Currently I'm only getting it to return 1 unless I actually put the text box or data element in the report.</p></blockquote>
<br />
Hi mwilliams,<br />
I also tried to use the table's "onPageBreak" method to manually control the page number using global variables but the code in the table's "onPageBreak" is never called. Do you have any idea why the method "onPageBreak" is not being called ?