Tr y this
this.indeptApprovers = event.result.INDEPT as ArrayCollection;

Jay Jayaraman
Central Billing Services
Financial Management and Planning
(404) 498-8453 (W)
(404) 273-7131 (C)



"Fox, Andrew J" <[email protected]> 
Sent by: [email protected]
01/12/2009 04:33 PM
Please respond to
[email protected]


To
discussion <[email protected]>
cc

Subject
[AFFUG Discuss] Another (probably) stupid question...






I need to take the data from one column of a DataGrid, add a constant, 
specify row and column delimiters, do the same for two additional ComboBox 
fields with the same data structure, then pass all of that to a stored 
procedure when the user clicks the Save button.  Is there any easy way of 
doing this? 

What the procedure is expecting is something like this:
bsmith3, internal; jdoe4, internal; sgreen2, internal; sgrant3, external;

The dataProvider is a Bindable ArrayCollection that specifies the array 
(one of three returned):

[Bindable]
private var indeptApprovers:ArrayCollection = new ArrayCollection();
...
this.indeptApprovers = event.result.INDEPT;
this.INDEPT_APPROVERS.dataProvider = indeptApprovers;


When I do a trace(indeptApprovers), I get "[object Object],[object 
Object]"(repeated for the number of records in the result set - 2 in this 
case.)
-- 
Andy Fox
Systems Analyst III
Georgia Tech OIT-EIS
404-894-4413


-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe in 
the subject line

For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------






-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe in the 
subject line

For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------

Reply via email to