Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » How to Set a Variable Value into a Table Cell ??
How to Set a Variable Value into a Table Cell ?? [message #1732124] Thu, 12 May 2016 17:31
Daniel Aguirre is currently offline Daniel AguirreFriend
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.
Previous Topic:BIRT and MongoDB 3.2
Next Topic:Birt Report highlight Issue
Goto Forum:
  


Current Time: Mon Sep 23 18:53:39 GMT 2024

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

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

Back to the top