[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[birt-report-designer-dev] Save value of previous row's column to a global variable
- From: mbsolar <mbrown@xxxxxxxxxxxx>
- Date: Sun, 7 Dec 2008 16:25:46 -0800 (PST)
- Delivered-to: firstname.lastname@example.org
I am trying to save the value of a rows column to a global variable that I
can used in the following row for a condition. I could use help in retieving
the previous row in a table's (or dataset) column value to be used in a
condition in the following row (or dataset) of that table.
I have declared the global variable in the initialize script of the report
(I had tried to set this up in the Create script of the table. I had the
I set up the condition to compare the global varible to the current row's
column value in the Create script of the table's row followed by the state
ment to set the global varible to be equal to the row column value in the
Create script of the table's row.
Condition always seem to be true a row too late. I am obviously setting the
global varible too late or executing the coondition too soon.
Other variations I have tried result in worse results. I am still unsure of
The version of BIRT I am using is 2.2.2
View this message in context: http://www.nabble.com/Save-value-of-previous-row%27s-column-to-a-global-variable-tp20873832p20873832.html
Sent from the Eclipse BIRT - Report Designer - Dev mailing list archive at Nabble.com.