Jump to content
Changes to the Jaspersoft community edition download ×

Subreport printed multiple times in jasper report


hrsb4u

Recommended Posts

Hello Guys here is the situation i am newbie in Jasper Report and working in the module in which i have 1 detail band ad one subreport my detail band is grouped with my master data and there is another detail band in which i called subreport so as i run my report the subreport been printed multiple times depends upon the upper data how can i restrict this

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Hi,

It sounds like your subreport is put inside the master report detail band. A report's detail band is rendered for each record in the data source that was passed to the report. If you put a subreport in the master report detail band, it will be repeated for each record in the master's data source. 

If you want the subreport to appear only once, try putting it in the title or summary band instead of the master report detail band.

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...