In /wwwroot/cfdocs... you find this example <cfif TripQuery.RecordCount is 1> <cflocation url="tripdetail.cfm?ID=#TripQuery.tripID#"> <cfelse> <cflocation url="tripdetail.cfm?ID=#Form.RecordID#"> </cfif> so 1) URL parameter absolutely works 2) I use session.returnpage ="../somewhere/pagename.cfm"
> 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:304763 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4