wood burning stoves 2.0*
The moose likes Other Open Source Projects and the fly likes Jasper reports - main header repeated inside subreport - how to avoid it ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Jasper reports - main header repeated inside subreport - how to avoid it ?" Watch "Jasper reports - main header repeated inside subreport - how to avoid it ?" New topic
Author

Jasper reports - main header repeated inside subreport - how to avoid it ?

Sergio Marcello
Ranch Hand

Joined: Jun 20, 2008
Posts: 36
Dear all,

I'm using IReport 4.0.2 to design a report which contains a subreport in its footer.

I need the header of the main report be repeated on each page, so I check the "Reprint header" checkbox.

The header will now printed on each page - so far so good.

Problem is, when the main report details are finished, then the subreport starts, and then I have two headers on each page, one that comes from the main report, and the second from the subreport.

But in the subreport I need only the header of the subreport; how can I accomplish this task ?

In other words, I need the main report header only for the mai report detail pages, and not for the main report subreport pages.

Any help would be greatly appreciated,

Sergio.


SCJP 6
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jasper reports - main header repeated inside subreport - how to avoid it ?