Embarrassed to ask, but can't figure it out:

Trying to insert a number such as 2.65 into a MSSql server db using
this:

Form:  <INPUT TYPE="TEXT" NAME="current_price " SIZE="10" value="">

Insert attempt:
<cfqueryparam cfsqltype="CF_SQL_numeric" value="#form.current_price#">

but no matter what data type I seem to select in SQL server for the
field type the number inserts as a whole number (3)

must be blatantly obvious to everone but me :-)


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217240
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to