Features of Record View Classes (MFC Data Access)

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Features of Record View Classes (MFC Data Access).

You can do form-based data-access programming with class CFormView, but CRecordView and CDaoRecordView are generally better classes to derive from. In addition to their CFormView features, CRecordView and CDaoRecordView:

  • Provide dialog data exchange (DDX) between the form controls and the associated recordset object.

  • Handle Move First, Move Next, Move Previous, and Move Last commands for navigating through the records in the associated recordset object.

  • Update changes to the current record when the user moves to another record.

For more information about navigation, see Record Views: Supporting Navigation in a Record View.

See Also

Record Views (MFC Data Access)
ODBC Driver List