How are you testing that each element is empty? Try using a for in loop
on the elements that are in the array without checking anything else
first... Let me know whether they're still populated. 

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of bdardaganian
Sent: Thursday, December 15, 2005 9:23 AM
To: [email protected]
Subject: [flexcoders] Re: Empty Arrays Returned from CFC

Thanks Matt...
I have tried using this function to create an array of structures, but
only get an array of empty elements.  The array itself is the correct
length, but each element contains no data.  I can return an array of
arrays, but if I try to make it an array of structures, it doesn't work,
hence my frustration.  I'm wondering if there is something amiss with my
gateway or something else that is wrong.

Any clues?

Brad

--- In [email protected], "Matt Boles" <[EMAIL PROTECTED]> wrote:
>
> 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: [email protected]
[mailto:[EMAIL PROTECTED] On
> Behalf Of bsd
> Sent: Wednesday, December 14, 2005 11:31 AM
> To: [email protected]
> 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
> 
>  
> 
> *      Visit your group "flexcoders
> <http://groups.yahoo.com/group/flexcoders> " on the web.
>         
> *      To unsubscribe from this group, send an email to:
>        [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]
subject=Unsubscribe> 
>         
> *      Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/> . 
> 
>  
> 
> ________________________________
>






------------------------ Yahoo! Groups Sponsor --------------------~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet
Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
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



 




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to