Jump to content
JasperReports Library 7.0 is now available ×

How to sum up values returned from subreport.


2005 IR Help

Recommended Posts

By: jas01 - jas01

How to sum up values returned from subreport.

2005-08-22 02:43

I used http://jasperreports.sourceforge.net/tips.tricks.html#returnvalues to return values from subreport to master report.

In master report I need sum up all those values returned from subreports.

Sum variable with variable expression $P{ReturnedValuesMap}.get("MY_RETURNED_VALUE") don't add last value.

(Maybe cause of such behaviour is that returned values from subreports are returned after the content of the band elements has already been evaluated.)

How can I achieve my goal to sum up all values returned from subreports?

 

 

 

 

 

 

 

By: Giulio Toffoli - gt78

RE: How to sum up values returned from subrep

2005-08-22 09:25

This trick is no more useful. From iReport 0.5.1 and JasperReports 1.0.0 there is a special tag to get back subreport values.

 

Both JasperReports 1.0.0 and iReport 0.5.1 should be released this week.

 

Giulio

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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