Object names in BIRT 2.0M2 [message #95790] |
Wed, 30 November 2005 13:24 |
Eclipse User |
|
|
|
As you can see you can give a name to objects in the General Propierties.
I could'nt find a use for then. At first I thought you could reference the
objects by this name but could'nt manage to do it.
It would be very good if you could reference an object by this name. For
example if you have a field with a value is obtained by means of a formula
you obtain something like row[if (params["groupByPar"] == "A") "Order
Date: " + row["ORDERDATE"]; else if (params["groupByPar"] == "B")
"Required Date: " + row["REQUIREDDATE"]; else if (params["groupByPar"] ==
"C") "Ship Date: " + row["SHIPPEDDATE"]; else if (params["groupByPar"] ==
"D") "Status: " + row["STATUS"]; else "Cust. Name: " +
row["CUSTOMERNAME"]].
Then if you nedd to reference the field you have to write all that stuff
again!
If I assign a name to the field, why ca'nt I use it instead?
|
|
|
Powered by
FUDForum. Page generated in 0.03657 seconds