Lotus Software logo
IBM Lotus Domino Designer 8.5
  Versions 8.5 and 8.5.1






FieldSize method

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%

Integer. The ID of the column. Use any numeric data type, except Currency.

column_Name$

String. The name of the column.

Return value

size%

Integer. The maximum size of data for the field.

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)

See examples

Examples: FieldSize method
Related topics
FieldInfo method
FieldNativeDataType method




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009