Please note, this is a STATIC archive of website www.w3schools.com from 05 May 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.
THE WORLD'S LARGEST WEB DEVELOPER SITE

ADO NumericScale Property


❮ Complete Field Object Reference

The NumericScale property sets or returns a byte value that indicates the number of digits stored to the right side of the decimal point for a numeric value of a Field or Parameter object.

Object Description of the NumericScale Property
Field

The NumericScale has read/write permissions when used to create a Recordset, but it has read-only permissions when you open an existing Recordset

Parameter The NumericScale property has read/write permissions on a Parameter object

Syntax

object.NumericScale

Example

<%
set conn=Server.CreateObject("ADODB.Connection")
conn.Provider="Microsoft.Jet.OLEDB.4.0"
conn.Open "c:/webdata/northwind.mdb"

set rs = Server.CreateObject("ADODB.Recordset")
rs.open "Select * from orders", conn

response.write(rs.Fields(0).NumericScale)

rs.Close
conn.close
%>

❮ Complete Field Object Reference