Designing and Creating a Record View

OverviewHow Do IFAQSampleODBC 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

To design your form

  • See , in Visual C++ User’s Guide.

To create your record view class with ClassWizard

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)