4D v13ODBC_SQLParamData |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
4D v13
ODBC_SQLParamData
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ODBC_SQLParamData ( stmtID ; valuePtr ) -> Function result | ||||||||
| Parameter | Type | Description | ||||||
| stmtID | Longint |
|
Statement ID | |||||
| valuePtr | Pointer |
|
Pointer to the parameter data or column data | |||||
| Function result | Longint |
|
Returns the result of the MS ODBC API function SQLParamData | |||||
The ODBC_SQLParamData command is used in conjunction with ODBC_SQLPutData to supply parameter data at statement execution time.
stmtID is a valid statement ID returned by ODBC_SQLAllocStmt.
valuePtr is equal to paramValPtr passed to ODBC_SQLBindParameter (for parameter data) or targetValuePtr passed to ODBC_SQLBindCol (for column data).
For more information, please see the SQLParamData function in the MS ODBC API Reference at http://msdn.microsoft.com/en-us/library/ms712366(VS.85).aspx.
SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_STILL_EXECUTING, SQL_ERROR, or SQL_INVALID_HANDLE.
See the example for the ODBC_SQLPutData command.
Product: 4D
Theme: ODBC_Submit requests
Number:
16967
Created: 4D ODBC Pro 2004
ODBC_SQLExecute
ODBC_SQLPutData