I believe you're looking for something like this. The key is to remember
that s.outdata is an array, so you're looping through an array, not a
collection. that's why the loop through the collection didn't work.
<cfloop from="1" to="#ArrayLen(mydata.outdata)#" index="i">
"dkerr" <[email protected]> wrote in message
> The above link is a dump of a struct passed to my CFC function from Flex
> Object . [flex object is made up of many form item strings and one
> arraycollection called outdata] . But, this is not a Flex side question
> me. It is a CFC-side question.
> <cfargument name="mydata" type="Struct" required="true"/>
> How do I loop through the outdata in mydata? I need to loop through each
> subscribers name and email and insert their name and email into the
> table in the database. Not sure of syntax of the looping to reference the
> outdata data?
> I played with cfloop collection ="mydata" and cfscript for-in loops, but
> keep getting complex data errors. Obviously, I don't understand how to
> through complex data structs.
> If you could help, I'd be grateful.
> Don Kerr