Jump to content
Changes to the Jaspersoft community edition download ×

I want to print a list on odd pages of the report and a static text on the even pages.


satya_1

Recommended Posts

To achieve this I created a report with my query of a list with 100 sequential rows and put it in the Detail 1 and my static text in Detail 2.

Then I added: Print When Expression = $V{PAGE_NUMBER}%2 != 0 to Column Header and Detail 1 and Print When Expression = $V{PAGE_NUMBER}%2 != 0 to Detail 2 and also maximized Detail 2 Band Height (without this I will loose more rows)

Everything show in the right pages but report aren't showing all rows. I mean, if my query return 100 rows, 1-100

1st page show 1-20
2nd page show static text
3rd page show 22-40
4th page show static text
5th page show 42-60

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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