Redigera

Dela via


Precision Property (ADO)

Indicates the degree of precision for numeric values in a Parameter object or for numeric Field objects.

Settings and Return Values

Sets or returns a Byte value that indicates the maximum number of digits used to represent values.

Remarks

Use the Precision property to determine the maximum number of digits used to represent values for a numeric Parameter or Field object.

The value is read/write on a Parameter object.

For a Fieldobject, Precision is normally read-only. However, for new Field objects that have been appended to the Fields collection of a Record, Precision 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.

Applies To

See Also

NumericScale and Precision Properties Example (VB)
NumericScale and Precision Properties Example (VC++)
NumericScale Property (ADO)