Skip to main content



      Home
Home » Archived » BIRT » global variable
global variable [message #163203] Sat, 20 May 2006 10:37 Go to next message
Eclipse UserFriend
Originally posted by: nieo1977.maktoob.com

HIIIIIIIIIIIIII
can i wrtie a javascript global variable (report level variable)
when , where , and how can i do that .
and can i assign a value to it from data set then use this variable in my
expressions to do some calculation
because in expression builder there is a limitation that i can see only
one data set that i binding it to table or the list
thank
Re: global variable [message #163451 is a reply to message #163203] Mon, 22 May 2006 11:53 Go to previous messageGo to next message
Eclipse UserFriend
You should be able to just create a variable in the initialize method:
myvar and dont use the var keyword. Then in the onFetch of your data set
set the variable.
You should be able to reference the variable in your expressions on the
table. BIRT 2.1 offers the
combined Data Sets that may help in this situation though. Create the the
two data sets and then create a joined data set that
does a join between the two.

Jason

"nieo1977" <nieo1977@maktoob.com> wrote in message
news:fb05ee3429d11f5b3d31efdce13c84e6$1@www.eclipse.org...
> HIIIIIIIIIIIIII
> can i wrtie a javascript global variable (report level variable)
> when , where , and how can i do that .
> and can i assign a value to it from data set then use this variable in my
> expressions to do some calculation because in expression builder there is
> a limitation that i can see only one data set that i binding it to table
> or the list
> thank
>
>
Re: global variable [message #166085 is a reply to message #163451] Wed, 31 May 2006 10:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nieo1977.maktoob.com

dear Jason
how can i create joined data set that
does a join between the two separate data set???
my birt copy is
Eclipse SDK

Version: 3.1.0
Build id: I20050627-1435

Jason Weathersby wrote:

> You should be able to just create a variable in the initialize method:
> myvar and dont use the var keyword. Then in the onFetch of your data set
> set the variable.
> You should be able to reference the variable in your expressions on the
> table. BIRT 2.1 offers the
> combined Data Sets that may help in this situation though. Create the the
> two data sets and then create a joined data set that
> does a join between the two.

> Jason
Re: global variable [message #166593 is a reply to message #166085] Thu, 01 June 2006 11:34 Go to previous message
Eclipse UserFriend
Take a look at this post.
http://birtworld.blogspot.com/2006/05/joined-data-sets-with- birt-21.html

Jason

"nieo1977" <nieo1977@maktoob.com> wrote in message
news:00960c173ec6d078670f646ace4e4d92$1@www.eclipse.org...
> dear Jason
> how can i create joined data set that
> does a join between the two separate data set???
> my birt copy is Eclipse SDK
>
> Version: 3.1.0
> Build id: I20050627-1435
>
> Jason Weathersby wrote:
>
>> You should be able to just create a variable in the initialize method:
>> myvar and dont use the var keyword. Then in the onFetch of your data set
>> set the variable.
>> You should be able to reference the variable in your expressions on the
>> table. BIRT 2.1 offers the
>> combined Data Sets that may help in this situation though. Create the
>> the two data sets and then create a joined data set that
>> does a join between the two.
>
>> Jason
>
>
Previous Topic:Problem building 2.1 R3
Next Topic:Progress Bar
Goto Forum:
  


Current Time: Wed Jul 09 23:51:08 EDT 2025

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

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

Back to the top