Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » BIRT table column only has value for the first entry(BIRT only show data for the first row entry of a column)
BIRT table column only has value for the first entry [message #1796083] Thu, 04 October 2018 18:55 Go to next message
Tuan Le is currently offline Tuan LeFriend
Messages: 1
Registered: October 2018
Junior Member

In a BIRT report I am working on, one column of the table has this expression:

if(params["Stub"] == "FE") dataSetRow["FieldEconomist"];
else if (params["Stub"] == "Sample") dataSetRow["Sample"];
else if (params["Stub"] == "NAICSHS") dataSetRow["NAICSHS"];
else " ";

When I run the report, only the first row entry of that column is populated with data. I cannot figure out what is wrong yet.
Re: BIRT table column only has value for the first entry [message #1796431 is a reply to message #1796083] Fri, 12 October 2018 20:49 Go to previous message
Jerry Sheets is currently offline Jerry SheetsFriend
Messages: 70
Registered: July 2009
Location: Salt Lake City, UT
There is not enough info to really help you. What is the trigger for the expression? Putting it in the column or cell is going to make it execute the code for every line. I think you would be better off either putting the code in a global variable or as a computed column.
Previous Topic:"Can not open the report archive" because of "IOException"
Next Topic:Get file last modification date
Goto Forum:

Current Time: Thu Oct 17 22:45:48 GMT 2019

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

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

Back to the top