ODBC_SQLNumResultCols

4D - Documentation   Français   English   German   4D ODBC PRO, Command Theme List   4D ODBC PRO, Command Alphabetical List   Back   Previous   Next

version 2004


ODBC_SQLNumResultCols (stmtID; columnCount) Longint

ParameterTypeDescription
stmtIDLongintStatement ID
columnCountLongintNumber of columns in the result set
Function resultLongintReturns the result of the MS ODBC API function
SQLNumResultCols

Description

The ODBC_SQLNumResultCols command returns the number of columns in a result set.

stmtID is a valid statement ID returned by ODBC_SQLAllocStmt.

columnCount is the number of columns in the result set. It does not include a bound bookmark column.

For more information, please see the SQLNumResultCols function in the MS ODBC API at http://msdn.microsoft.com/library/en-us/odbc/htm/odbcsqlnumresultcols.asp.

Function Results

SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_STILL_EXECUTING, SQL_ERROR, or SQL_INVALID_HANDLE.


4D - Documentation   Français   English   German   4D ODBC PRO, Command Theme List   4D ODBC PRO, Command Alphabetical List   Back   Previous   Next