null="true|false" will/should also work so no need for the YesNoFormat().
Adrian -----Original Message----- From: daniel kessler [mailto:[EMAIL PROTECTED] Sent: 16 February 2007 11:34 To: CF-Talk Subject: Re: inserting nothing into a numeric ><cfqueryparam value="#form.myNumber#" cfsqltype="cf_sql_integer" >null="#yesNoFormat(NOT len(trim(form.myNumber)))#" /> Hey that's cool Charlie. I'd not read yesNoFormat before. - thanks. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:269990 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

