Help Center

CODBCStmt.Executemethod

Executes a prepared statement.

DatabasesmethodCODBCStmt.incdocumented

Syntax

FUNCTION Execute () AS SQLRETURN

Return value

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

Description

Executes a prepared statement, using the current values of the parameter marker variables if any parameter markers exist in the statement.

Reference

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