You are adding the string "<CFOUTPUT>#Evaluate(Form.S4x6 * 3.95)#</CFOUTPUT>" as the value. Which will be something like:
"<CFOUTPUT>11.85</CFOUTPUT>" You probably just cant seen the CFOUTPUT tags in the browser because they are seen as tags. Change the code to this: <CFSET Temp = QueryAddRow(Session.Cart)> <CFSET Temp = QuerySetCell(Session.Cart,"PhotoFileName",Form.PhotoFileName)> <CFSET Temp = QuerySetCell(Session.Cart, "Quantity",Form.S4x6)> <CFSET Temp = QuerySetCell(Session.Cart, "Size", "4 x 6")> <CFSET Temp = QuerySetCell(Session.Cart, "Amount",Evaluate(Form.S4x6 * 3.95))> And, i'd recommend reading up on your CF syntax. -----Original Message----- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Thursday, September 18, 2003 3:39 PM To: CF-Talk Subject: Can anyone explain why this code is behaving like it is? This stuff is driving me crazy! All day spent to get almost nowhere... Anyway...(deep breath)... Excerpts from the code: The formfield: <SELECT Name="S4x6" Class="TextInput01"> <Option Value="0" Selected>0</Option> <Option Value="1">1</Option> <Option Value="2">2</Option> <Option Value="3">3</Option> <Option Value="4">4</Option> <Option Value="5">5</Option> <Option Value="6">6</Option> <Option Value="7">7</Option> <Option Value="8">8</Option> <Option Value="9">9</Option> <Option Value="10">10</Option> </SELECT> Sent to another page for processing: <CFLOCK Scope="Session" Type="Exclusive" TimeOut="5"> <CFSET Session.Total = 0> <CFIF Form.S4x6 is not "0"> <CFSET Temp = QueryAddRow(Session.Cart)> <CFSET Temp = QuerySetCell(Session.Cart, "PhotoFileName", "<CFOUTPUT>#Form.PhotoFileName#</CFOUTPUT>")> <CFSET Temp = QuerySetCell(Session.Cart, "Quantity", "<CFOUTPUT>#Form.S4x6#</CFOUTPUT>")> <CFSET Temp = QuerySetCell(Session.Cart, "Size", "4 x 6")> <CFSET Temp = QuerySetCell(Session.Cart, "Amount", "<CFOUTPUT>#Evaluate(Form.S4x6 * 3.95)#</CFOUTPUT>")> <CFOUTPUT>#DollarFormat(Session.Cart.Amount)#</CFOUTPUT><br> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137591 Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com

