Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
How to set a value of a variable into a table cell?
Migrateduser
<p>Hello everyone!!<br><br>
I'm newbie using BIRT and I have a question for all of you experts!!<br><br>
I've created a table with 4 columns "A","B","C" and "D", column "D" is empty, I mean, no data, aggregation or text is in there whilst "A", "B" and "C" have an element from Data Set related to them.<br><br>
I'm trying to set a value from "A" into the column "D" through a script only if "B" and "C" meet a condition. This is the script (written over Cell "D"):<br><br>
cB = this.getRowData().getColumnValue("B");<br>
cC = this.getRowData().getColumnValue("C");<br><br>
if ((cB== 0) && (cC==1))<br>
{<br>
vA = this.getRowData().getColumnValue("A");<br>
<br>
}<br><br>
As you can see I was able to write the condition and get the value from "A" if that condition is true, but I don't know how to set the value of "vA" variable into the cell "D".<br><br>
I hope you can help me.<br><br>
Thanks in advance.</p>
Find more posts tagged with
Comments
There are no comments yet