Jump to content

Jaspersoft Studio: How to make sub-report page number ascending instead of re-count the page number for each new sub-report?


eggchun32

Recommended Posts

My Jaspersoft Studio version: 6.5.1.final

First, as my question mentioned that the page number of each new sub-report will restart from 1. However, I want all page number can be ascending from 1 to total number of pages.

page1.png.a0d091f9f0b6fb9f89b9945a6077f327.pngpage2.png.738b4714d881c397ea46e6743457ba73.pngThis two pictures are from single sub-report.

page3.png.a0939309d2824fe060dd54f6dad58cd7.pngThis one is from another single sub-report.

The above pictures show that page number is not displayed as ascending order. 

So, how to solve this problem and make them displayed as 1, 2, 3 but not 1, 2, 1?

**Note
1. The page number use the default variables $V{PAGE_NUMBER} in Jaspersoft Studio.
2. The evaluation time for variables $V{PAGE_NUMBER} is 'Now'.
3. I used an empty report only with two detail bands for insert two sub-report elements.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

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...