Jump to content
Changes to the Jaspersoft community edition download ×

subreport return values error


smalejandrosm

Recommended Posts

Hi, please anyone who can help me with this problem, i want to display a field data in my master report, this data is a sum field in my detail report, but i made a variable with this data in the detail report for recovery in my master report, but that variable is not visible in my master report, what is the problem or how i can make this.

 

How i make a variable with the column builtin in 'Y', all my variables are 'N'.

 

I'm using iReport 1.2.5

 

Tanks all

 

alex

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 a variable in your main report to get the value from the value in the subreport.

If you print this variable in the same band as the subreport, set "band" as evaluation time for the textfield.

 

I attached a sample. Use the database shipped with JasperReports to test it.

 

Giulio [file name=subreport_return_value.zip size=40205]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/subreport_return_value.zip[/file]

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