Hi Ben,

It works.

Thank you for your help

Mark


----- Original Message ----
From: Ben Marchbanks <[EMAIL PROTECTED]>
To: [email protected]
Sent: Tuesday, February 12, 2008 10:11:42 AM
Subject: Re: [flexcoders] An ArrayCollection question ?

Try,

Alert.show(acDept[ i].DeptID. toString( ));

Ben Marchbanks

::: magazooms :::
digital publishers, taking print beyond paper......

http://www.magazoom s.com

Greenville, SC
864.284.9918

markflex2007 wrote:
> 
> 
> Hi,
> 
> I have a ArrayCollection acDept that saved the data passed from
> coldfusion cfc
> 
> <cfquery name="getDepartment " datasource=" bursary">
> SELECT DeptId, Dept FROM DeptList
> </cfquery>
> 
> I want loop over all the ArrayCollection and show all the DeptId.I use the
> following code and I get error for "acDept.valueOf( "DeptID") ."
> 
> for ( var i : int =0; i < acDept.length ; i++)
> {
> Alert.show(acDept. valueOf(" DeptID"). toString( ));
> 
> }
> Please help me to know which method I can use to get DeptID.
> 
> Thanks
> 
> Mark
> 
> 

-- 
Ben Marchbanks

::: magazooms :::
digital publishers, taking print beyond paper......

http://www.magazoom s.com

Greenville, SC
864.284.9918




      
____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 

Reply via email to