Does it error if you use cfsqltype=cf_sql_numeric? Chris Norloff
---------- Original Message ---------------------------------- from: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] date: Tue, 29 Jan 2002 11:24:10 -0700 >Arrgg. > >I'm trying to insert a number like "99.99" into SQL Server via >cfqueryparam. However, I'm getting an "Unknown Data Access Error." > >The code is: > >UPDATE tCompVC > SET dtASDate = getDate(), > tmASTime = getDate(), > fGSTRate1 = <cfqueryparam value="#val >(form.fGSTRate1)#" cfsqltype="CF_SQL_DECIMAL" scale="2">, > fGSTRate2 = <cfqueryparam value="#val >(form.fGSTRate2)#" cfsqltype="CF_SQL_DECIMAL" scale="2">, > >The fields in SQL Server are of datatype decimal(24, 2). > >Any ideas? > ______________________________________________________________________ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists