Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Variable problem(Variable problem)
Variable problem [message #1716313] Wed, 02 December 2015 21:04
Hugo Araujo is currently offline Hugo AraujoFriend
Messages: 9
Registered: June 2014
Junior Member
Hello, i want to used a value from a data field from one table (Element id: 2882), its the 3ª table from the top, and used in another table (Element id: 2397), 4º table from the top.

I then create several variables, for example: total_soma_linha_6_nc_a

Then i went to this aggregation field (total_soma_linha_6_nc) that is in the 3ª table, on the onCreate method and put: vars["total_soma_linha_6_nc_a"]=this.getValue(); (the value is -2245,09)

Then i went to the this aggregation field (total_soma_linha_6_nc) in the 4º table and used it (row["total_linha6_nc"] (-6348,94) + vars["total_soma_linha_6_nc_a"] (-2245,09), but i get this ridiculous number -428425,86.
When it should -8594.03.

I try to put a parseFloat but with no sucess.

Help me
Previous Topic:Issue with XLS data source
Next Topic:Weighted Average Error
Goto Forum:
  


Current Time: Fri Apr 26 15:04:09 GMT 2024

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

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

Back to the top