ActualSize

This property indicates, in bytes, the actual length 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 a Field object’s value. For all fields, the ActualSize property is read-only. If ADOCE cannot determine the length of the Field object’s value, the ActualSize property returns -1 (adUnknown).

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