Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Re: Setting Persistent Global Variable from DataSet
Re: Setting Persistent Global Variable from DataSet [message #874880] Mon, 21 May 2012 17:45
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Reference the value using dataSetRow syntax. Take a look at the
attached example.

Jason

On 5/19/2012 4:35 AM, TO C wrote:
> I'm trying to set a Persistent Global Variable from the column of a
> dataset.
> I've tried using OnFetch as below:
>
> var myvar = this.getDataRowData().getColumnValue("Variable");
> reportContext.setPersistentGlbalVariable("VariableData", myvar.toString());
>
> This isn't working though.
>
> I want a Persistent Global Variable set to the Value of the column
> Variable (it'll be the same across the dataset).
>
> Any ideas?
Previous Topic:Re: Setting Persistent Global Variable from DataSet
Next Topic:Re: Setting Persistent Global Variable from DataSet
Goto Forum:
  


Current Time: Fri Mar 29 00:08:11 GMT 2024

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

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

Back to the top