> > Seems odd to want to make it a query but you could do something like > this. I havent tested this. Assuming your array of objects is called > arrayOfObj: > > <cfset q = queryNew(structKeylist(arrayofObj[1].getMemento())) /> > <cfloop array="#arrayOfObjs#" index="obj"> > <cfset queryAddRow(q) /> > <cfset s = obj.getMemento() /> > <cfloop collection="#s#" item="col"> > <cfset querySetCell(q,col,s[col]) /> > </cfloop> > </cfloop> > <cfdump var="#q#" /> >
Thanks - I thought of the same to loop over the memento, but thought I read somewhere we should only use that for testing, debugging, etc. Dan --~--~---------~--~----~------------~-------~--~----~ Before posting questions to the group please read: http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer You received this message because you are subscribed to the Google Groups "transfer-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/transfer-dev?hl=en -~----------~----~----~----~------~----~------~--~---
