Using report variable to pass data from outer to inner nested data sethttps://www.eclipse.org/forums/index.php/mv/msg/457779/1015947/#msg_1015947
Hoping someone can tell me what is wrong with this report. I am trying to use a nested scripted data set, where the outer data set passes data to the inner data set through a report variable.

I find that the report isn't acting as I thought it would. It seems as though the report variable is outputting the last value it has for every row. For the below report I am seeing output such as:

The key idea is that in the outer data set's fetch, I set the report variable:

vars["values"] = value;

And the inner data set's fetch will grab it:

values = vars["values"].iterator();

and the inner data set's fetch will take data from the report variable:

row["value"] = values.next();

Thanks for any assistance!

Rob]]>Robert Mark Bram2013-03-04T11:46:56-00:00Re: Using report variable to pass data from outer to inner nested data sethttps://www.eclipse.org/forums/index.php/mv/msg/457779/1016042/#msg_1016042
Jason]]>Jason Weathersby2013-03-04T17:07:38-00:00Re: Using report variable to pass data from outer to inner nested data sethttps://www.eclipse.org/forums/index.php/mv/msg/457779/1016160/#msg_1016160
Do you know why the report variable didn't work in this case? Why does it seem to evaluate with the last value it was given?