ODBC_SQLCloseCursor

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

version 2004


ODBC_SQLCloseCursor (stmtID) Longint

ParameterTypeDescription
stmtIDLongintStatement ID
Function resultLongintReturns the result of the MS ODBC API function
SQLCloseCursor

Description

The ODBC_SQLCloseCursor command closes a cursor that has been opened on a statement and discards pending results.

stmtID is a valid statement ID returned by ODBC_SQLAllocStmt.

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

Function Results

SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, 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