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

iReport, return user defined variable from sub report?


bdaetgibson

Recommended Posts

Hey,

I have made the variable in ym subreport and need this variable to be returned to the calling report.
In the calling report, I click on the subreport element and go to the section where I can choose return values for the subreport, and all I can do is only return predfined parameters such as Pahe Number, Coulm Count etc.

Is there a work around, or am I not doing this properly?

Cheers Guys!
Blake

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 Blake,

So your parent report should have a system variable to return the subreport value to. Make sure it's calculation is system. Then in subreport return values you need to declare a pair

report_var = subreport_var

you need to type in the subreport_var name manually, since the parent report in not loading suberport object.

Good luck reporting and subreporting!

Olga

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