ONE Active Server Pages Product Home Page Developer Site Version


ADO Field Object DefinedSize Property

The defined size of a Field object.

DefinedSize Property Return Values (ADO Field Object)

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

DefinedSize Property Remarks (ADO Field Object)

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

The DefinedSize and ADO Field Object ActualSize Property 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.

DefinedSize Property Examples (ADO Field Object)

See the ADO Field Object ActualSize Property example.