Hi,
I am getting data from sql server using Coldfusion remote connection. I
capture the data in arrayCollection that will be use in an advancedDatagrid
as:
public function getContracts_Handler(event:ResultEvent):void{
acContracts = ArrayCollection(event.result);
contract_dg.dataProvider = acContracts;
Couple of my fields in the database are contractID (integer) and price
(money).
The array collection see the contractID as number but not the price field,
the price is an string, the same happens with sql server numeric or decimal
field.
It is a way to tell the arrayCollection that my field price is numeric?
Can i do something in my select statement? I don't want to convert the money
field to integer.
Any ideas about this issue?
Thanks
I am getting data from sql server using Coldfusion remote connection. I
capture the data in arrayCollection that will be use in an advancedDatagrid
as:
public function getContracts_Handler(event:ResultEvent):void{
acContracts = ArrayCollection(event.result);
contract_dg.dataProvider = acContracts;
Couple of my fields in the database are contractID (integer) and price
(money).
The array collection see the contractID as number but not the price field,
the price is an string, the same happens with sql server numeric or decimal
field.
It is a way to tell the arrayCollection that my field price is numeric?
Can i do something in my select statement? I don't want to convert the money
field to integer.
Any ideas about this issue?
Thanks