Hi, I'm trying to call a CFC that returns multiple array of structure recordsets. I don't get any errors but only the first recordset is returned. Does anyone have any ideas?
BTW, I'd be happy to use VO instead, but I've given-up trying to figure this out...it's beyond this newbies grasp. Many thanks, Darius CFC ---- <cfcomponent> <cffunction name="invUpdateAuthorization" access="remote" returnType="Array"> <cfargument name="Input" required="true" type="Array"> <cfset var arrResult = ArrayNew(1)/> <cfset var arrResult2 = ArrayNew(1)/> <cfset var arrResult3 = ArrayNew(1)/> <cfset Attributes.AuthorizedUserId = input[1] > <cfset Attributes.CCode = input[2] > <cfset Attributes.CFlag = input[3] > <cfset Attributes.COrderAvailableFlag = input[4] > <cfinclude template="qry_UpdateAuthorization.cfm"> <cfoutput query="qGetUpdateAuthorization"> <cfset stItem = StructNew()/> <cfset stItem["Function"] = #qGetUpdateAuthorization.Function#> <cfset stItem["Description"] = #qGetUpdateAuthorization.Description#> <cfset arrayAppend(arrResult,stItem)/> </cfoutput> <cfoutput query="qGetUpdateAuthorization"> <cfset stItem = StructNew()/> <cfset stItem["Function"] = #qGetUpdateAuthorization.Function#> <cfset stItem["Description"] = #qGetUpdateAuthorization.Description#> <cfset arrayAppend(arrResult2,stItem)/> </cfoutput> <cfset arrayAppend(arrResult3,arrResult)> <cfset arrayAppend(arrResult3,arrResult2)> <cfreturn arrResult3/> </cffunction> </cfcomponent> As ----- private function handleResult(result:Array):Void{ var result:Array = result[0]; var result2:Array = result[1]; Updates.dataProvider = result; Tasks.dataProvider = result2; } ------------------------ Yahoo! Groups Sponsor --------------------~--> <font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12h779vhf/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124823590/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org ">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy</a>.</font> --------------------------------------------------------------------~-> -- 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/