Have you tried using the NULL attribute of CFQUERYPARAM? I've done something like NULL="#NOT YesNoFormat(LEN(ARGUMENTS.prodconsignmentprice))#" to handle this type of thing.
Rich Kroll > -----Original Message----- > From: Will Tomlinson [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 09, 2007 8:28 AM > To: CF-Talk > Subject: Werid <cfqueryparam> error... > > I've seen this before but just worked around it with a <cfif> in the SQL. > > SQL Server, smallmoney data type for this field. > > Here's the SQL: > > prodconsignmentprice = <cfqueryparam cfsqltype="cf_sql_money" > value="#ARGUMENTS.prodconsignmentprice#"> > > If you submit a blank value, you get this error: > > Invalid data for CFSQLTYPE CF_SQL_DOUBLE. > > Umm ok... I'm not using any <cfqueryparam>s with double. Just money. It > works fine, unless you submit an empty value. I usually just wrap it with > a <cfif>. > > Am I doing somethin wrong though? > > Thanks, > Will > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 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:266047 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4