FieldName (ODBCResultSet - LotusScript)

Returns the field name for a specified column, given its ID (column number).

Defined in

ODBCResultSet

Syntax

fieldName$ = odbcResultSet . FieldName( column_id )

Parameters

column_id

Integer. The column ID of the field in the result set. Use any numeric data type, except Currency.

Return value

fieldName$

String. The name of the field. Computed fields take names of Computed1, Computed2, and so on.

Errors

Field ID is out of range (DBstsINVC)

Example