When using argumentcollection can you dump in a query?  I have done 
argumentCollection=form in the past to take the form structure from a page and 
dump it in, but what about a query?


This returns a query with data from a database

<cfinvoke component="com.mySite" method="readRecord" returnVariable="qry">
<cfinvokeargument name="ID" value="#variables.ID#">
</cfinvoke>


I want to dump the query from above into this function that does a database 
insert.

<cfset create = CreateObject("component","com.mySite") />
<cfset create.createRecord(argumentCollection=qry) />


If not, is there a way to convert my query into a structure that I can dump 
into it?


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
CF 8 – Scorpio beta now available, 
easily build great internet experiences – Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282504
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to