Skip to content

Latest commit

 

History

History
70 lines (57 loc) · 2.5 KB

File metadata and controls

70 lines (57 loc) · 2.5 KB
title Record Views (MFC Data Access) | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-windows
ms.tgt_pltfrm
ms.topic article
dev_langs
C++
helpviewer_keywords
MFC [C++], record views
ODBC recordsets [C++], record views
databases [C++], record views
record views [C++]
forms [C++], data access tasks
ms.assetid 562122d9-01d8-4284-acf6-ea109ab0408d
caps.latest.revision 8
author mikeblome
ms.author mblome
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

Record Views (MFC Data Access)

This section applies only to the MFC ODBC classes. For information about OLE DB record views, see COleDBRecordView and Using OLE DB Record Views.

To support form-based data-access applications, the class library provides class CRecordView. A record view is a form view object whose controls are mapped directly to the field data members of a recordset object (and indirectly to the corresponding columns in a query result or table on the data source). Like its base class CFormView, CRecordView is based on a dialog template resource.

Form Uses

Forms are useful for a variety of data-access tasks:

  • Entering data

  • Performing read-only examination of data

  • Updating data

Further Reading About Record Views

The material in topics applies to both the ODBC-based and the DAO-based classes. Use CRecordView for ODBC and CDaoRecordView for DAO.

Topics include:

See Also

Data Access Programming (MFC/ATL)
ODBC Driver List