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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:226898 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

