title | description | author | ms.author | ms.date | ms.service | ms.subservice | ms.topic | f1_keywords | helpviewer_keywords | apitype | |||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NumericScale Property (ADO) |
NumericScale Property (ADO) |
rothja |
jroth |
01/19/2017 |
sql |
ado |
reference |
|
|
COM |
Indicates the scale of numeric values in a Parameter or Field object.
Sets or returns a Byte value that indicates the number of decimal places to which numeric values will be resolved.
Use the NumericScale property to determine how many digits to the right of the decimal point will be used to represent values for a numeric Parameter or Field object.
For Parameter objects, the NumericScale property is read/write.
For a Fieldobject, NumericScale is normally read-only. However, for new Field objects that have been appended to the Fields collection of a Record, NumericScale is read/write only after the Value property for the Field has been specified and the data provider has successfully added the new Field by calling the Update method of the Fields collection.
:::row:::
:::column:::
Field Object
:::column-end:::
:::column:::
Parameter Object
:::column-end:::
:::row-end:::
NumericScale and Precision Properties Example (VB)
NumericScale and Precision Properties Example (VC++)
Precision Property (ADO)