Jump to content
We've recently updated our Privacy Statement, available here ×

hmrq

Members
  • Posts

    1
  • Joined

  • Last visited

 Content Type 

Forum

Downloads

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Events

Profiles

Everything posted by hmrq

  1. I'm using Jasper iReports 5.2.0 and I want to print a list on odd pages of the report and a static text on the even pages. To achieve this I created a report with my query of a list with 100 sequential rows and put it in Detail 1 and my static text in Detail 2. Then I added: Print When Expression = $V{PAGE_NUMBER}%2 != 0 to Title, Page Header, Column Header,... and Detail 1 and Print When Expression = $V{PAGE_NUMBER}%2 == 0 to Detail 2 and also maximized Detail 2 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 ... I also tryed using breaks but withou success. What should I do so that row be printed in the right page? Or maybe there's a better (correct) way to do this... Best regards
×
×
  • Create New...