File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Open Source Projects and the fly likes iReport Calculations on sub-report return value variable in Main Report Group Footer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "iReport Calculations on sub-report return value variable in Main Report Group Footer" Watch "iReport Calculations on sub-report return value variable in Main Report Group Footer" New topic
Author

iReport Calculations on sub-report return value variable in Main Report Group Footer

raja patil
Greenhorn

Joined: May 26, 2008
Posts: 24
hello,

I am using iReport 4.8 and report structure is as follows

page header

detail band has only subreport

Group Footer

Page Footer

Subreport is summing up amt field and returning that value to main Report.

In group footer that returned value is being displayed and its working correctly.
Just below the Total Amount field I want to display tax Amt by using another variable with expression $V(TotAmt)*$F(taxRate)/100.00
but its being displayed as 0.00. For debug purpose I displayed taxRate field its also showing correct value of 7%.

Now I am puzzled that whether sub-report vales can be used in calculations in main Report ?

Can somebody guide me ?

Thanks and warm regards.

Raja




 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: iReport Calculations on sub-report return value variable in Main Report Group Footer
 
Similar Threads
Jasper reports - main header repeated inside subreport - how to avoid it ?
how to send Jasper I report field in subreport
iReport sum of field
Passing dataSource to subreport in ireport
Subreport in Ireports with different datasource