Jump to content
Changes to the Jaspersoft community edition download ×

Render a subreport return param page wise


natya

Recommended Posts

I have a main report  which has an element X in the page footer  to be printed based on the subreport returned param Y.

Task :

In subreport  detail section page 1,  if an element occurs 10 times, element count '10' should be printed in the main report's  page 1 footer .

In subreport  detail section page 2,  if an element occurs 5 times, element count '5' should be printed in the main report's page 2 footer .

Issue :

I am passing a variable/param Y from subreport to main report , whose evaluation time is 'page'

When I display this subreport  passed variable Y  in the main report

Page 1 gives null

Page 2 gives 5 .

Is there any way that I can get the value 10 & 5 (multiple values page wise) from the subreport to main report ?

Thanks in advance,

Natyashree

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

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