| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | Newsletters | VB Forums | Developer.com |
|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Passing figures calculated in subreports
Can anybody tell me if it is possible to use a variable calculated within a subreport outside this scope (in the parent report)?
I have to list (eg) an opening balance, set of processing data, adjustments, then a closing balance. The opening balance is a single figure in my main report, and the processing data is in the details section along with it's sum. This leaves the adjustments which have to be listed individually and then summed - done in a subreport. Can I access this sum in the body of the main report, as I need it to calculate a closing balance. Thank you! |
|
#2
|
|||
|
|||
|
Re: Passing figures calculated in subreports
Use shared variable
__________________
Madhivanan Failing to plan is Planning to fail |
|
#3
|
|||
|
|||
|
Re: Passing figures calculated in subreports
Thanks for pointing me in the right direction. If anyone else is interested here is an article which gave a clear step by step explanation:
http://www.experts-exchange.com/Data..._21141425.html |
![]() |
| Bookmarks |
|
||||||
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|