virtual void OnSetOptions( HSTMT hstmt );
Parameters
hstmt
The HSTMT of the ODBC statement whose options are to be set.
Remarks
The framework calls this member function to set initial options for the recordset. OnSetOptions determines the data source’s support for scrollable cursors and for cursor concurrency and sets the recordset’s options accordingly.
Override OnSetOptions to set additional options specific to the driver or the data source. For example, if your data source supports opening for exclusive access, you might override OnSetOptions to take advantage of that ability.
For more information about cursors, see the article ODBC in Visual C++ Programmer’s Guide.
CRecordset Overview | Class Members | Hierarchy Chart
See Also CDatabase::OnSetOptions