CRecordset::m_hstmt

Remarks

Contains a handle to the ODBC statement data structure, of type HSTMT, associated with the recordset. Each query to an ODBC data source is associated with an HSTMT.

Caution   Do not use m_hstmt before Open has been called.

Normally you do not need to access the HSTMT directly, but you might need it for direct execution of SQL statements. The ExecuteSQL member function of class CDatabase provides an example of using m_hstmt.

CRecordset OverviewClass MembersHierarchy Chart

See Also   CDatabase::ExecuteSQL