Passing a variable from a subreport back to main report [message #64760] |
Thu, 04 August 2005 07:08  |
Eclipse User |
|
|
|
Originally posted by: benn.tilby.tangozebra.com
I have a report table with a subreport , and I want to add together totals
in the subreport to display as a grand total in the outer report. I can do
this using Total.sum aggregate but it is very slow. I was wondering if there
was a way to declare a variable in the header of the outer table, add to it
several times in the inner table, and then display it in the footer of the
outer table. But so far I have not been able to reach the variable. I cant
either seem to find a way of passing it as a parameter or making it global.
Any ideas ...?
Thanks,
BT.
|
|
|
Re: Passing a variable from a subreport back to main report [message #64894 is a reply to message #64760] |
Thu, 04 August 2005 12:55  |
Eclipse User |
|
|
|
You might try using a thread local hashmap to store temp variables and
access the java object directly.
Joe
"Benn Tilby" <benn.tilby@tangozebra.com> wrote in message
news:dcssur$11n$1@news.eclipse.org...
>I have a report table with a subreport , and I want to add together totals
>in the subreport to display as a grand total in the outer report. I can do
>this using Total.sum aggregate but it is very slow. I was wondering if
>there was a way to declare a variable in the header of the outer table, add
>to it several times in the inner table, and then display it in the footer
>of the outer table. But so far I have not been able to reach the variable.
>I cant either seem to find a way of passing it as a parameter or making it
>global. Any ideas ...?
>
> Thanks,
> BT.
>
|
|
|
Powered by
FUDForum. Page generated in 0.05498 seconds