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?
______________________________________________________________________
Why Share?
  Dedicated Win 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=coldfusionc
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

Reply via email to