4D v13

ODBC_SQLNumResultCols

Home

 
4D v13
ODBC_SQLNumResultCols

ODBC_SQLNumResultCols 


 

ODBC_SQLNumResultCols ( stmtID ; columnCount ) -> Function result 
Parameter Type   Description
stmtID  Longint in Statement ID
columnCount  Longint in Number of columns in the result set
Function result  Longint in Returns the result of the MS ODBC API function SQLNumResultCols

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 Reference at http://msdn.microsoft.com/en-us/library/ms715393(VS.85).aspx.

SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_STILL_EXECUTING, SQL_ERROR, or SQL_INVALID_HANDLE.

 
PROPERTIES 

Product: 4D
Theme: ODBC_Results
Number: 16952

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D ODBC Pro 2004