ODBC_SQLNumParams

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

version 2004


ODBC_SQLNumParams (stmtID; parameterCount) Longint

ParameterTypeDescription
stmtIDLongintStatement ID
parameterCountLongintNumber of parameters in the statement
Function resultLongintReturns the result of the MS ODBC API function
SQLNumParams

Description

The ODBC_SQLNumParams command returns the number of parameters in an SQL statement.

stmtID is a valid statement ID returned by ODBC_SQLAllocStmt.

parameterCount is the number of parameters in the statement specified by stmtID.

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

Function Results

SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_STILL_EXECUTING, SQL_ERROR, or SQL_INVALID_HANDLE.

Example

See the example for the ODBC_SQLExecute command.

See Also

ODBC_SQLBindParameter.


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