Help Center

CODBCStmt.ParamDatamethod

Used in conjunction with **PutData** to supply parameter data at statement execution time.

DatabasesmethodCODBCStmt.incdocumented

Syntax

FUNCTION ParamData (BYVAL ValuePtrPtr AS SQLPOINTER PTR) AS SQLRETURN

Parameters

NameDescription
ValuePtrPtrPointer to a buffer in which to return the address of the ParameterValue buffer specified in BindParameter (for parameter data) or the address of the TargetValue buffer specified in BindCol (for column data), as contained in the SQL_DESC_DATA_PTR descriptor record field.

Return value

SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_NEED_DATA, SQL_NO_DATA, SQL_STILL_EXECUTING, SQL_ERROR, or SQL_INVALID_HANDLE.

Description

ParamData is used in conjunction with PutData to supply parameter data at statement execution time.

Reference

  • Include file CODBCStmt.inc
  • Defined in AfxNova/COdbcStmt.inc:297
  • Documented in Databases/ODBC Classes/CODBCStmt Class.md
  • Topic: CODBCStmt Class