Home | Overview | How Do I | FAQ | Sample | Tutorial | ODBC Driver List
ClassWizard writes a recordset class for you that simply selects all records in a single table. You’ll often want to modify that behavior in one or more of the following ways:
OnInitialUpdate
after the recordset object is constructed but before its Open member function is called. See the articles Recordset: Filtering Records (ODBC) and Recordset: Sorting Records (ODBC) for details. For DAO, see the article DAO Queries: Filtering and Parameterizing Queries. For an example, see the OnInitialUpdate
member function in the file SECTFORM.CPP in the MFC Tutorial sample ENROLL, Step 2.