LOTUS CONNECTORS


FieldSize method
Example

Returns the maximum size of data for a field.

Defined in

ODBCResultSet

Syntax

size% = odbcResultSet. FieldSize( column_id% )

or

size% = odbcResultSet. FieldSize( column_Name$ )

Parameters

column_id%


column_Name$
Return value

size%


Usage

The unit of measurement is usually a byte, but depends on the data source.

The return value may be 0 for some field types that contain large amounts of arbitrary data; for example, rich text fields.

The meaning of size% depends on the field type. For example, the size of a variable-length field is the maximum length of the field, but the stored text can be shorter.

Errors

Invalid column ID or name (DBstsINVC)

Example
See Also