Hard to tell from what you've posted... what's in the "All the search query stuff is right here" and the insertSearch method of the cfc.
Hurry back before Dave notices you've actually posted something and turns the thread into a slugfest. ;-) ..:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -----Original Message----- From: Will Tomlinson [mailto:[EMAIL PROTECTED] Sent: Monday, December 12, 2005 9:43 PM To: CF-Talk Subject: What am I missin' here with this cfparam?? Ok, this is a little odd, and I don't know what I'm not understanding why it's doing what it's doing. I have a search form. It actions to the search results page. I'm also adding the search criteria into tblSearches to keep track of what people are looking for. I cfparam'ed FORM.criteria on the action page just to make sure it's always there. But I noticed it entered twice into the db per one search. If I comment out the cfparam, it inserts correctly. Why wouldn't the submitted FORM.criteria override the cfparam FORM.criteria? It's acting like it has TWO FORM.criterias. hmmmm.... <cfparam name="FORM.criteria" default=""> <cftry> All the search query stuff is right here..... <!--- Insert this search into the database ---> <cfinvoke component="#APPLICATION.productDAO#" method="insertSearch" criteria="#FORM.criteria#" searchreturncount="#getsearchproducts.recordcount#"> <cfcatch type="any"></cfcatch> </cftry> Thanks, Will ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:226900 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

