Hello everybody,
I have defined a variable within a dataset of a list. I tried this via "Return Values" with the global variable of the main dataset.
Unfortunately, the inner value from the list variable is not passed to the global variable.
I need the value to tell certain sections by the "print-when-expression" that they should not be printed if the value of the list is 0.
But I always get the value 0 for the global variable.
Can anyone help me please?
Thanks a lot.
0 Answers:
No answers yet
These are the two variables:
Variable1:
variable name = "content_global"
class = "java.lang.Integer"
calculation = no calculation function
initial value expression = 0
increment type = none
reset type = report
Variable2
name = "content"
value class name = java.lang.Integer
calculation = count
expression = $V{content}+1
initial value expression = 0
increment type = none
reset type = report
I defined at the "return values", that the return value of this dataset run should be overgiven to the content_global.
From Variable: content
To Variable: content_global
calculation Type = no calculation function
Ok, I went over it again. The global variable receives the value, but only at the end of the window. I would need the value but already at the beginning of the window. Is this possible at all?
Thank you.