A quick and easy solution would be to store form.id into a session. <cfset session.formid=form.id>
then cflocation to it and call it from #session.formid#. Might not be the BEST answer, but I'm still waking up. :) On Mon, May 5, 2008 at 8:16 AM, alex poyaoan <[EMAIL PROTECTED]> wrote: > Hi everybody > need help on this > > I have this code on an action template > > <CFQUERY NAME="AddHL" datasource="db"> > INSERT into table1(listID, secondID, emailID) > VALUES('#Form.ListID#','#Form.secondID#','#form.emailID#' ) > </cfquery> > <CFLOCATION URL='Form2.cfm'> > > I need to go back to the previous form with the value of form.id which comes > from the calling template. Is there a way to insert that value in the > cflocation url? I tried it but it gives me an error wHAT i WANT TO DI IS > > <cflocation url='form2.cfm?id='form.id> > > 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:304742 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4