Subreport Reference back to Main Report?


I'm new to Jaspersoft iReport 5.6.0.  I created a subreport, is there a way to reference back to the Main report?

As far as say "Main.GroupName.field" or something like that? 

I want to create a Table of Contents and I googled some info and it looks pretty difficult.  Just wondering if there is an easier way?

I got the info in the Main report but want to reference this in the subreport somehow.

Thank you.



cclark2009's picture
Joined: Feb 26 2018 - 9:06am
Last seen: 3 years 3 weeks ago

1 Answer:


Have you tried to pass the information as a parameter to the subreport?

asejas's picture
Joined: Oct 26 2007 - 2:33am
Last seen: 2 years 11 months ago