Share via


Designing and Creating a Record View (MFC Data Access)

 

The latest version of this topic can be found at Designing and Creating a Record View (MFC Data Access).

You can create your record view class with the MFC Application Wizard. If you use an application wizard, it 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 Add Class, you must first create the dialog template resource in the Dialog editor and then create the record view class.

This information applies to both CRecordView and CDaoRecordView.

To create your record view with the MFC Application Wizard

  1. See Database Support, MFC Application Wizard.

To design your form

  1. See Dialog Editor.

To create your record view class

  1. See Adding an MFC ODBC Consumer.

The following topics explain additional details of using record views:

See Also

Record Views (MFC Data Access)
Recordset (ODBC)
ODBC Driver List