Brad-

I always have good luck converting the query into an array of structures.  And here is a link to a UDF to do the work: http://www.cflib.org/udf.cfm?id=10

 

In Flex you then have an ActionScript array of objects.

-Matt

 

 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bsd
Sent: Wednesday, December 14, 2005 11:31 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Empty Arrays Returned from CFC

 

 

I have a CFC that calls a complex query, one that in Cold Fusion I would parse through using grouping in my cfoutput.  When I’ve tried passing this query back into Flex, I’m getting less than desirable results.  I can pass the query back, but AS doesn’t have a neat way to parse through the results as I would do with grouped query outputs in CF.  I’ve tried putting the results of the query into a structure and passing that back, either as a structure or as an array of structures.  When I do this, all I get are empty arrays.. no data whatsoever, even though when I use dumpToFile to view the actual data structures, all the data is there.

 

Any ideas?  Suggestions? 

 

Any help is appreciated.

 


Thanks,
Brad

 

 

 

 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to