thanks azadi, ill try this > since you are using mysql db you can do this: > > <cfquery name="insertquery" datasource="yourmysqldsn"> > INSERT INTO yourtable > <cfoutput query="yourcfquery"> > (col1, col2, col3, ...)<cfif yourcfquery.currentrow lt > yourcfquery.recordcount>,</cfif> > </cfoutput> > </cfquery> > > hth > > Azadi Saryev > Sabai-dee.com > http://www.sabai-dee.com/ > > > > Richard White wrote: > > i must be naive as i have never used the cfinsert but how would i > use it in this case as the documentation seems to suggest that it only > uses formfields and not the contents of another cf query > > > > thanks > > > >
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307072 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

