Hstmt Function

Action

Retrieves the ODBC statement handle from the cursor data structure. The statement handle is used for native ODBC function calls.

Include file

DBAPI.bdh

Syntax

Hstmt(in cCursor: cursor): number;

Return value

ODBC statement handle

Parameter Description
cCursor Cursor

Example

var
  c1: cursor;

dcltrans
  transaction THstmt
  begin
    ...
    DB_Execute(c1);
    SQLFreeStmt(Hstmt(c1), ...);
    ...
  end THstmt;