Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsRe: Setting Persistent Global Variable from DataSet
https://www.eclipse.org/forums/index.php/mv/msg/353954/874891/#msg_874891
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?]]>Jason Weathersby2012-05-21T17:45:31-00:00