Skip to content

Latest commit

 

History

History
42 lines (35 loc) · 2.14 KB

File metadata and controls

42 lines (35 loc) · 2.14 KB
title Precision Property (ADO) | Microsoft Docs
ms.prod sql
ms.prod_service connectivity
ms.technology connectivity
ms.custom
ms.date 01/19/2017
ms.reviewer
ms.topic conceptual
apitype COM
f1_keywords
_Parameter::Precision
Field20::Precision
helpviewer_keywords
Precision property [ADO]
ms.assetid 1fa38e78-6b5b-414d-ba0a-3dd26b29b766
author MightyPen
ms.author genemi

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

Field Object Parameter Object

See Also

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