Name

Field.ActualSize Property — (Versions 2.0, 2.1, 2.5, 2.6)

Synopsis

                     actualsize = field.ActualSize

The ActualSize property returns the actual length of a field’s value.

Datatype

Long

Description

The ActualSize property returns a number indicating how many bytes are stored in the specified field, as opposed to the maximum number of bytes allowed (indicated through the DefinedSize property). If the length of the Field object’s value cannot be determined by ADO, adUnknown is returned.

See Also

Field.DefinedSize Property

Get ADO: ActiveX Data Objects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.