2004 IR Help Posted August 20, 2006 Share Posted August 20, 2006 By: John Augusto Charnet - jcharnet Duplicating sub report group header 2005-03-04 06:58 Hello. I have a report master, that has a child report (as a subreport) in the detail band. The master report's structure is like this: TITLE PAGE_HEADER Group1_HEADER DETAIL SUMMARY The Subreport's struture is: Group_sub_1_HEADER DETAIL Group_sub_1_FOOTER I have the isReprintHeaderOnEachPage property of my Group_sub_1_HEADER set to true. The output of my report is something like this: Page 1 ---------------------- TITLE PAGE_HEADER GROUP1_HEADER DETAIL Group_sub_1_HEADER DETAIL DETAIL DETAIL Group_sub_1_FOOTER DETAIL GROUP1_HEADER Group_sub_1_HEADER DETAIL DETAIL Group_sub_1_FOOTER GROUP1_HEADER DETAIL Group_sub_1_HEADER DETAIL ---------------------- Page 2 PAGE_HEADER Group_sub_1_HEADER DETAIL Group_sub_1_FOOTER GROUP1_HEADER DETAIL Group_sub_1_HEADER DETAIL Group_sub_1_FOOTER DETAIL GROUP1_HEADER ---------------------- Page 3 PAGE_HEADER Group_sub_1_HEADER Group_sub_1_HEADER DETAIL DETAIL Group_sub_1_FOOTER . .SUMMARY . ---------------------- Notice that on page 2 the last subreport did not fit on the page, so it started printing on the second page, the problem is that since the property isReprintHeaderOnEachPage is set to true, it duplicates my Group_sub_1_HEADER. Is this a jasperreport Bug, ou am I doing something wrong ? Thanks a lot... Sincerely, John. 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