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!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:226909
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