Jump to content
JasperReports 7.0 is now available ×

Sub report with more than one level: sub report no


jpp74

Recommended Posts

Hi All,

I have to generate a big pdf document with jasper. I cut the content in subreports.
In my master report, I defined two subreports in detail section: subreport1 and subreport2.
In subreport1 I defined two sub reports: sub1subreport1, sub1subreport2.
In subreport2 I defined two sub reports: sub2subreport1, sub2subreport2.

My problem is that only subreport1 (the first sub report of my master report) is displayed, If I delete the first subreport the second subreport is displayed.
When I use subreports in a main report, I set the positionType of the first report to FixeRelativeToTop and the second one to Float.

I join jrxml files to my post.
Master: M14.jrxml
SubReport1:PresGeneFctChapitre.jrxml
        Sub1subReport1:    PresGeneBudgetDepFct.jrxml
        Sub1subReport2:    PresGeneBudgetRecFct.jrxml
SubReport2:PresGeneInvestChapitre.jrxml
        Sub2subReport1:    PresGeneBudgetDepInvest.jrxml
        Sub2subReport2:    PresGeneBudgetRecInvest.jrxml
 

Thanks for help.

Link to comment
Share on other sites

  • Replies 1
  • 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...