DefinedSize Property (ADO)

Microsoft ActiveX Data Objects (ADO)

ADO 2.5 API Reference

DefinedSize Property

Indicates the data capacity of a Field object.

Return Value

Returns a Long value that reflects the defined size of a field as a number of bytes.

Remarks

Use the DefinedSize property to determine the data capacity of a Field object.

The DefinedSize and ActualSize properties are different. For example, consider a Field object with a declared type of adVarChar and a DefinedSize property value of 50, containing a single character. The ActualSize property value it returns is the length in bytes of the single character.

See Also

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

ActualSize Property

Applies To: Field Object

© 1998-2003 Microsoft Corporation. All rights reserved.