4D v13

ODBC_SQLNumParams

Home

 
4D v13
ODBC_SQLNumParams

ODBC_SQLNumParams 


 

ODBC_SQLNumParams ( stmtID ; parameterCount ) -> Function result 
Parameter Type   Description
stmtID  Longint in Statement ID
parameterCount  Longint in Number of parameters in the statement
Function result  Longint in Returns the result of the MS ODBC API function SQLNumParams

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/en-us/library/ms715409(VS.85).aspx.

SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_STILL_EXECUTING, SQL_ERROR, or SQL_INVALID_HANDLE.

Example  

See the example for the ODBC_SQLExecute command.

 
PROPERTIES 

Product: 4D
Theme: ODBC_Submit requests
Number: 16968

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D ODBC Pro 2004

 
SEE ALSO 

ODBC_SQLBindParameter