4D v13

ODBC_SQLParamData

Home

 
4D v13
ODBC_SQLParamData

ODBC_SQLParamData 


 

ODBC_SQLParamData ( stmtID ; valuePtr ) -> Function result 
Parameter Type   Description
stmtID  Longint in Statement ID
valuePtr  Pointer in Pointer to the parameter data or column data
Function result  Longint in 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.

Example  

See the example for the ODBC_SQLPutData command.

 
PROPERTIES 

Product: 4D
Theme: ODBC_Submit requests
Number: 16967

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D ODBC Pro 2004

 
SEE ALSO 

ODBC_SQLExecute
ODBC_SQLPutData