DefinedSize Property

 

Description

 

Indicates the data capacity of a Field object.

 

PowerBASIC Syntax

 

PROPERTY GET DefinedSize () AS LONG

 

Return Value

 

LONG. 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.

 

Valid XHTML 1.0 Transitional