Because that is exactly what cfparam function does?
Regards, Andrew Scott Quote of the Day: In politics an absurdity is not a handicap. - Napoleon Bonaparte -----Original Message----- From: Shawn McKee [mailto:[EMAIL PROTECTED] Sent: Wednesday, 14 December 2005 12:18 AM To: CF-Talk Subject: RE: What am I missin' here with this cfparam?? No clue as to why the problem is happening but how about doing a simple if check instead. <cfif NOT isDefined("FORM.criteria")> <cfset FORM.criteria = ""> </cfif> Shawn McKee -----Original Message----- From: Will Tomlinson [mailto:[EMAIL PROTECTED] Sent: Monday, December 12, 2005 10:02 PM To: CF-Talk Subject: Re: What am I missin' here with this cfparam?? Yes, i'm back! The form itself is inside a cfc that outputs. I don't know how that'd make a double insert happen though. I think the key is the cfparam. Howcome when I remove the cfparam, one record is inserted as it should be? Leave the cfparam in, 2 records insert. poof! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:226910 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

