But CFPARAM isn't working for him and so maybe there is something strange in
the implementation of that seemingly innocuous piece of code and it would be
worth checking if implementing it yourself works.

In general a bad idea to assume something won't help just because we "know"
it is the same thing.

Shawn McKee


-----Original Message-----
From: Andrew Scott [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 13, 2005 7:28 AM
To: CF-Talk
Subject: RE: What am I missin' here with this cfparam??


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!







~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:226913
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

Reply via email to