Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Passing a variable from a subreport back to main report
Passing a variable from a subreport back to main report [message #64760] Thu, 04 August 2005 11:08 Go to next message
Eclipse UserFriend
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 16:55 Go to previous message
Joe Rybacki is currently offline Joe RybackiFriend
Messages: 36
Registered: July 2009
Member
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.
>
Previous Topic:Master Page Data Access
Next Topic:Print services
Goto Forum:
  


Current Time: Sat Oct 19 10:41:25 GMT 2024

Powered by FUDForum. Page generated in 0.02348 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top