fmalaj Posted February 13, 2019 Share Posted February 13, 2019 I'm using Jaspersoft Studio version 6.3.1 and I want to insert page breaks after x number of rows. Right now I have 65 rows that all are displayed in one page. I dragged Break from Palette to my Detail then in the Print When Expression I tried: new Boolean($V{PAGE_COUNT}.intValue()==12)new Boolean($V{REPORT_COUNT}.intValue()==12)new Boolean($V{PAGE_COUNT}.intValue()==12)$V{PAGE_COUNT}==12$V{PAGE_NUMBER}=12$V{REPORT_COUNT}.intValue()==12None of the above worked. Not sure if I'm doing something wrong. Would really appreciate if someone can help me with this. Link to comment Share on other sites More sharing options...
hozawa Posted February 13, 2019 Share Posted February 13, 2019 Following should work. However, if you have "printOrder" set to "Horizontal", page break does not work.Tried it with Jaspersoft Studio 6.3.1.final$V{PAGE_COUNT} > 11 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now