ActualSize

This property indicates the actual length, in bytes, of a field's value.

Syntax

var = field.ActualSize

Return Values

Returns a Long value.

Remarks

Use the ActualSize property to return the actual length of the value of a Field object. For all fields, the ActualSize property is read-only. If ADOCE cannot determine the length of the value of a Field object, the ActualSize property returns -1 (adUnknown).

For character data types, it may be useful to use DefinedSize to determine the maximum size permitted.