Designing and Creating a Record View
| Overview | How Do I | FAQ | Sample | | ODBC Driver List
You can create your record view class with either AppWizard or ClassWizard. If you use AppWizard, the wizard creates the record view class and a dialog template resource for it (without controls). You must use the Visual C++ dialog editor to add controls to the dialog template resource. On the other hand, if you use ClassWizard, you must first create the dialog template resource in the dialog editor, then open ClassWizard and create the record view class.
This information applies to both CRecordView and CDaoRecordView.
To create your record view with AppWizard
- See the article AppWizard: Database Support
To design your form
To create your record view class with ClassWizard
- See the article ClassWizard: Creating a Database Form.
Tip For an example of an application with multiple record views on a database, see the ENROLL tutorial application, Step 4. The step is described in MFC Tutorial sample .
The following articles explain additional details of using record views:
See Also ClassWizard: Mapping Form Controls to Recordset Fields, Recordset (ODBC)