dhruv_parekh Posted August 13, 2009 Share Posted August 13, 2009 Hi,I've created a report for employees. In that report all records should display in same page for the perticular employee. If employee code is changed then it should display record on a new page. I've added a group for the employee_code. And applied a page break in that group footer. But it doesn't work well as per expactation. Page break gets activated when records of one employee exceeded to page height. "Ignore Pagination" condition is unchecked. Now another problem occurred when i checked "Ignore Pagination", it shows the records in one page for one employee. Creates new page when employee is changed. It works fine in Excel and HTML format, but it is not working in PDF format. I'm using JasperReport 3.1.0, JDK 1.4.2_05, and NetBeans 6.5.1. What should I do? Is there any way to get report as per my customer's expactation? Please guide me. Link to comment Share on other sites More sharing options...
Teodor Danciu Posted August 21, 2009 Share Posted August 21, 2009 Hi, Why do you use a page break in the group footer when the group declaration itself lets you set a flag called isStartNewPage.You also have a property called minHeightToStartNewPage available at group level. I hope this helps.Teodor 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