I'm not sure you could account for all the records when CF returns the data... The actual data population from the CF call is in the EVENT call in the remoteobject link. The problem is, this will change every call you make and I could see that it could there could be possibility of lost data if you do it that way. I'm not sure this would be best practice...
Why not return a single query with all the records you need? I populate some fairly large components with CF data in one call to CF to the remote object. You should be able to pass the array to CF... Sj ________________________________ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of kpjj31 Sent: Thursday, August 20, 2009 1:45 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] call remoteObject muliple times Is it possible to call remoteObject multiple times. This number would be based on the number of records in an arrayCollection. This calls it only for the first record. for (var i:int = 0; 1 < departmentlist.length; i++) { delagateService.setDelegateAssignment({ProfileID:profileid,GLString:depa rtmentlist.getItemAt(i).DATA,AddRemove:isselected}) { index = i; break; } -- This message has been scanned for viruses and dangerous content by MailScanner <http://www.mailscanner.info/> , and is believed to be clean.