Jump to content
JasperReports Library 7.0 is now available ×

Compute a sum using a field from subreport


Recommended Posts

By: asf - dmg_marius

Compute a sum using a field from subreport

2004-04-06 06:49

Hi guys,

 

Please excuse my English; I hope that you would understand what I want to say.

I have a big problem and I need your help.

 

I want to build an invoice.

In the master report, I have all the information about the invoice and in the subreport I have a list of products depends of invoice number. My invoice will have, if necessary, more than one page. I have different queries for master and subreport.

 

Now, I want to compute a total on the price on the every page in the master report but I could not have access to the price field because it is a field from the subreport. Haw can I do that?

Haw can I compute a sum in the master report using a field from subreport?

Haw could I transmit a parameter from subreport to the master report?

 

If you know haw, please help me. Thanks a lot!

 

 

By: Ramil - ramilrahman

RE: Compute a sum using a field from subreport

2004-07-05 04:11

Please check the link http://jasperreports.sourceforge.net/tips.tricks.html#returnvalues

Guess it will help you.

 

Ramil

 

 

By: Juan Ara - fi2net@Spain - laureke

RE: Compute a sum using a field from subreport

2004-07-08 04:02

Somebody asked under "help" forum.

This is the thread:

http://sourceforge.net/forum/forum.php?thread_id=1105439&forum_id=217623

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

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