• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Sergio Marcello
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!