ODBC_SQLParamData

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

version 2004


ODBC_SQLParamData (stmtID; valuePtr) Longint

ParameterTypeDescription
stmtIDLongintStatement ID
valuePtrPointerPointer to the parameter data or column data
Function resultLongintReturns the result of the MS ODBC API function
SQLParamData

Description

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 at http://msdn.microsoft.com/library/en-us/odbc/htm/odbcsqlparamdata.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_SQLPutData command.

See Also

ODBC_SQLExecute, ODBC_SQLPutData.


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