CODBCStmt.ColCountmethod
Returns the number of columns available in the result set.
Syntax
FUNCTION ColCount () AS SQLINTEGER
Return value
The number of columns available in the result set. It returns 0 if there are no columns in the result set.
Result code (GetLastResult)
SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_STILL_EXECUTING, SQL_ERROR, or SQL_INVALID_HANDLE.
Description
Returns the number of columns available in the result set.
Reference
- Include file
CODBCStmt.inc - Defined in AfxNova/COdbcStmt.inc:896
- Documented in Databases/ODBC Classes/CODBCStmt Class.md
- Topic: CODBCStmt Class