• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
  • paul wheaton
  • Tim Cooke
  • Devaka Cooray
  • Rob Spoor
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin

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

Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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,

The fastest and most reliable components of any system are those that are not there. Tiny ad:
a bit of art, as a gift, that will fit in a stocking
    Bookmark Topic Watch Topic
  • New Topic