just so you know, the null attribute overrides the value attribute. so even if there's a value specified for the value attribute, and null attribute is set to "yes", a NULL will be inserted.
common practice if you don't know whether or not to expect a value is to place some conditional logic inside the null attribute itself: <cfqueryparam value="#form.myNumber#" cfsqltype="cf_sql_integer" null="#yesNoFormat(NOT len(trim(form.myNumber)))#" /> On 2/15/07, daniel kessler <[EMAIL PROTECTED]> wrote: > ah that worked too - yay team! > > thanks guys. > > ><cfqueryparam> takes a null attribute. set it to "yes" :) > > > ><cfqueryparam value="" cfsqltype="cf_sql_integer" null="yes" /> > > > >On 2/15/07, Daniel Kessler <[EMAIL PROTECTED]> wrote: > >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:269918 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

