How to Set a Variable Value into a Table Cell ?? [message #1732124] |
Thu, 12 May 2016 17:31 |
Daniel Aguirre Messages: 3 Registered: May 2016 |
Junior Member |
|
|
Hello everyone!!
I'm newbie using BIRT and I have a question for all of you experts!!
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.
I'm trying to set a value from "A" into the column "C" through a script only if "B" and "C" meet a condition. This is the script (written over Cell "D"):
cB = this.getRowData().getColumnValue("B");
cC = this.getRowData().getColumnValue("C");
if ((cB== 0) && (cC==1))
{
vA = this.getRowData().getColumnValue("A");
}
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 "C".
I hope you can help me.
Thanks in advance.
|
|
|
Powered by
FUDForum. Page generated in 0.03292 seconds