LOTUS CONNECTORS


FieldNativeDataType method
Example

Given a specific column, returns the native data type for that column.

Defined in

ODBCResultSet

Syntax

formatValue = odbcResultSet.FieldNativeDataType( column_id% )

or

formatValue = odbcResultSet.FieldNativeDataType(column_Name$ )

Parameters

column_id%


column_Name$
Return value

Constant. One of the following:

Usage

The native data type is that of the field as stored in the database but expressed in ODBC-standard terms. The data type of the returned data value is the value set by the expected data type. If the expected type is not set, data is converted to the LotusScript data type that most closely resembles the native type.

Errors

Field ID is out of range (DBstsINVC)

Example
See Also