Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » How to retrieve specific Row Elements
How to retrieve specific Row Elements [message #875803] Wed, 23 May 2012 06:48 Go to next message
Stephen H is currently offline Stephen H
Messages: 1
Registered: May 2012
Junior Member
Hi, I currently have a report that contains a number of charts display the rise and fall of a projects Test Build (Total Tests, Failed Tests,Passed Tests).

I want to create then a dynamic text which will tell the user whether there has been an increase in Test Failures/Passes in the last day.

The problem I have though is retrieving data from the rows to be able to do this.

Basically I want to know is there any sort of function that allows me to get the last two elements of a given row.

( eg row["Passing"].getRowData.getColumnData(row["Passing"].size)) 
Re: How to retrieve specific Row Elements [message #876072 is a reply to message #875803] Wed, 23 May 2012 17:11 Go to previous message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Can you clarify a bit. Do you want previous row values or current row
values but different columns. On a table detail rows' oncreate you can
access any column value

this.getRowData().getColumnValue("bindingname"); //look at the table
bindings in the property editor to see available bindings. You can also
store previous values in script and reference them later or if all the
data is in one data set use a an aggregate function in an aggregation
element.

Jason

On 5/23/2012 6:48 AM, Stephen H wrote:
> Hi, I currently have a report that contains a number of charts display
> the rise and fall of a projects Test Build (Total Tests, Failed
> Tests,Passed Tests).
>
> I want to create then a dynamic text which will tell the user whether
> there has been an increase in Test Failures/Passes in the last day.
>
> The problem I have though is retrieving data from the rows to be able to
> do this.
>
> Basically I want to know is there any sort of function that allows me to
> get the last two elements of a given row.
>
> ( eg row["Passing"].getRowData.getColumnData(row["Passing"].size))
Previous Topic:Viewer request encoding
Next Topic:Export feature in report
Goto Forum:
  


Current Time: Fri Jul 25 19:22:44 EDT 2014

Powered by FUDForum. Page generated in 0.02256 seconds