CODBCStmt.GetImpRowDescFieldTypemethod
Returns the type of a single field of a descriptor record.
Syntax
FUNCTION GetImpRowDescFieldType (BYVAL RecNumber AS SQLSMALLINT) AS SQLSMALLINT
Parameters
| Name | Description | |
|---|---|---|
RecNumber | Indicates the descriptor record from which the application seeks information. Descriptor records are numbered from 1, with record number 0 being the bookmark record. The RecNumber argument must be less or equal to the value of SQL_DESC_COUNT. |
Return value
The type of the field.
Result code (GetLastResult)
SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_ERROR, SQL_NO_DATA, or SQL_INVALID_HANDLE.
SQL_NO_DATA is returned if RecNumber is greater than the current number of descriptor records.
Description
Returns the type of a single field of a descriptor record.
Reference
- Include file
CODBCStmt.inc - Defined in AfxNova/COdbcStmt.inc:1639
- Documented in Databases/ODBC Classes/CODBCStmt Class.md
- Topic: CODBCStmt Class