Hello all, I have a statement stored in the database, that I am retrieving, in the statement I have a CF variable. How can I populate the variable with the value?
I have the following: <cfquery name="stat" datasource="Test"> Select * from tr_statements where test_code = '#rtrim(Test_code)#' and Type = 'C' and (left(low_high,1))='H' </cfquery> <cfset bags = 5> <cfset rate = '1/2'> <cfloop query="stat"> <cfoutput>#stat.state#</cfoutput> </cfloop> where the result looks like this: We recommend #bags# of product(25 kg). Apply #rate# in the spring and #rate# in the fall. So i need to have the #bags# and #rate# variables actually display 5 and 1/2 respectively *Note, I know that it should be 2 1/2 :)* I have tried a cfsavecontent, with no success... Any suggestions? TIA Rob ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299957 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

