Latest

recent

ADO NumericScale Property


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
%>

Goto ADO Parameter Object complete list
ADO NumericScale Property Reviewed by 1000sourcecodes on 00:36 Rating: 5
Powered by Blogger.