Jump to content
We've recently updated our Privacy Statement, available here ×

How to make that subreport shows only once?


daseparo

Recommended Posts

Hy, I'm beginner in JasperReports, maybe this problem is trivial. I don't know.

I have master reposrt and subreport. Datasource is XML. In master report in Detail1 band i have 3 fields that represent one parent node from XML. That fields repeats many times. But in Detail2 band i have subreport that takes some other data from other node in that XML file.

Problem is that if i have 4-5 nodes in master report that subreport is also printed 4-5 times. I want that first all data from Masterreport is printed, and after that i want  subreport only once.

(I can put subreport to page footer but it is also dynamic and i don't know how height will be.)

 

sorry for bad english



Post Edited by daseparo at 09/04/2009 10:46
Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...