Click to See Complete Forum and Search --> : Passing figures calculated in subreports


kristyw
March 16th, 2005, 11:56 PM
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!

Madhi
March 18th, 2005, 04:51 AM
Use shared variable

kristyw
March 20th, 2005, 10:53 PM
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/Databases/Crystal_Reports/Q_21141425.html