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:00Re: Setting Persistent Global Variable from DataSethttps://www.eclipse.org/forums/index.php/mv/msg/353937/895142/#msg_895142
]]>Eleanor Dilay2012-07-11T19:32:48-00:00Re: Setting Persistent Global Variable from DataSethttps://www.eclipse.org/forums/index.php/mv/msg/353937/895160/#msg_895160

On 7/11/12 3:32 PM, Eleanor Dilay wrote:
> Thanks for this example. Can you show me how to set a Persistent Global
> Variable from an aggregate of a dataset.
>]]>Jason Weathersby2012-07-11T20:41:42-00:00Re: Setting Persistent Global Variable from DataSethttps://www.eclipse.org/forums/index.php/mv/msg/353937/895161/#msg_895161

On 7/11/12 3:32 PM, Eleanor Dilay wrote:
> Thanks for this example. Can you show me how to set a Persistent Global
> Variable from an aggregate of a dataset.
>]]>Jason Weathersby2012-07-11T20:41:42-00:00Re: Setting Persistent Global Variable from DataSethttps://www.eclipse.org/forums/index.php/mv/msg/353937/895162/#msg_895162

On 7/11/12 3:32 PM, Eleanor Dilay wrote:
> Thanks for this example. Can you show me how to set a Persistent Global
> Variable from an aggregate of a dataset.
>]]>Jason Weathersby2012-07-11T20:41:42-00:00Re: Setting Persistent Global Variable from DataSethttps://www.eclipse.org/forums/index.php/mv/msg/353937/895164/#msg_895164

On 7/11/12 3:32 PM, Eleanor Dilay wrote:
> Thanks for this example. Can you show me how to set a Persistent Global
> Variable from an aggregate of a dataset.
>]]>Jason Weathersby2012-07-11T20:41:42-00:00Re: Setting Persistent Global Variable from DataSethttps://www.eclipse.org/forums/index.php/mv/msg/353937/895557/#msg_895557
I am getting the aggregates into the main report. But I'm getting the totals from the previous work order each time, not the current work order.]]>Eleanor Dilay2012-07-13T14:17:38-00:00