Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
0
Is there any way to use a total from a subreport in calculatio n on main report?
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-20-2012 05:28 PM
Is there any way to use a total from a subreport in calculation on main report?
0
Re: Is there any way to use a total from a subreport in calculatio n on main report?
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-20-2012 05:33 PM
Yes, you can do this using a shared variable.
Re: Is there any way to use a total from a subreport in calculatio n on main report?
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-20-2012 05:33 PM
What you have to do is create a formula in the subreport something like this:
WhilePrintingRecords;
Shared CurrencyVar myTotal := Sum ({Orders.Order Amount})And in the main report create a formula something like this:
WhilePrintingRecords; Shared CurrencyVar myTotal; myTotal


