Maximo List Archive

This is an archive of the Maximo Yahoo Community. The content of this pages may be a sometimes obsolete so please check post dates.
Thanks to the community owner Christopher Wanko for providing the content.



Manipulating dataset in BIRT

From: yudi.irianto (2012-04-10 08:38)

Dear all,
I just curious, how to manipulating dataset in BIRT like datavalue in
Actuate?
Eg: I have 2 columns in BIRT: ROUTINE & NON-ROUTINE, if dataset comes with
ROUTINE then BIRT will filled in "X" in ROUTINE column & NON-ROUTINE will
set to null
Here Actuate sample:
---------------------------------
Sub OnRow( row As AcDataRow )
Super::OnRow( row )
' Insert your code here
if UCASE(datavalue) = "ROUTINE" then
datavalue = "X"
else
datavalue = ""
End If
End Sub
Many thanks for your advise.
Best Regards,
Yudi Irianto


From: Thomas (2012-05-04 15:27)


add a new data binding and insert something like this.
if (dataSetRow["datavalue"]=='ROUTINE')
'X'
else ''
--- In MAXIMO@yahoogroups.com, yudi.irianto@... wrote:
>
> Dear all,
>
> I just curious, how to manipulating dataset in BIRT like datavalue in
> Actuate?
>
>
> Eg: I have 2 columns in BIRT: ROUTINE & NON-ROUTINE, if dataset comes with
> ROUTINE then BIRT will filled in "X" in ROUTINE column & NON-ROUTINE will
> set to null
>
> Here Actuate sample:
> ---------------------------------
> Sub OnRow( row As AcDataRow )
> Super::OnRow( row )
> ' Insert your code here
> if UCASE(datavalue) = "ROUTINE" then
> datavalue = "X"
> else
> datavalue = ""
> End If
> End Sub
>
> Many thanks for your advise.
>
> Best Regards,
>
> Yudi Irianto
>
>
>