Jump to content
JasperReports Library 7.0 is now available ×

return values from dataset runs?


gt1502

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

There is no built-in mechanism to do that.

 

However, you can pass a value holder object as a parameter to the crosstab/dataset and use a dummy expression to copy the value you want to return into the parameter. You can then retrieve the value in the report and use it.

 

Regards,

Lucian

Link to comment
Share on other sites

  • 6 years later...
i passed a double object as parameter from the main report to the sub-report but the second part of 'dummy expression to copy the value you want to return into the parameter' is a bit confusing. I have the value I want in a variable field in the dataset but i am not able to assign/copy it to the parameter.
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...