ADO 2.5 API Reference

Precision Property

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 Field object, 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.

See Also

Visual Basic Example | Visual C++ Example | Visual J++ Example

NumericScale Property

Applies To: Field Object | Parameter Object

© 1998-2003 Microsoft Corporation. All rights reserved.