Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » How to retrieve specific Row Elements
How to retrieve specific Row Elements [message #875803] Wed, 23 May 2012 10:48 Go to next message
Stephen H is currently offline Stephen HFriend
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 21:11 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
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))
Re: How to retrieve specific Row Elements [message #1408340 is a reply to message #876072] Thu, 14 August 2014 20:43 Go to previous message
william phillips is currently offline william phillipsFriend
Messages: 2
Registered: August 2014
Junior Member
Hi,

I know this is an extremely old post but I have the same question. I would like to be able access specific row level data. Is there a way to accomplish this using code like the example given in the original post?
Previous Topic:grouping report using parameters
Next Topic:Accessing row specific data in a grouped table
Goto Forum:
  


Current Time: Fri Apr 26 14:05:44 GMT 2024

Powered by FUDForum. Page generated in 0.03304 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top