I have been trying to come up with a more streamlined way to update the contents of a table with data that is coming from a different database. Is there a way to use in the values clause a reverence to a record from a cf query instead of actually typing out all of the variables? Something along the lines of:
Insert into table(x,y,z) Values(#queryname[currentrow]#) Or is there a way to use cfinsert or some other process where I could essentially pass the query object so that I can insert the data without having to loop and do each insert individually? Thanks! Eric ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313959 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4