Skip to content

Latest commit

 

History

History
25 lines (23 loc) · 1.42 KB

using-a-record-view-mfc-data-access.md

File metadata and controls

25 lines (23 loc) · 1.42 KB
title ms.custom ms.date ms.reviewer ms.suite ms.technology ms.tgt_pltfrm ms.topic dev_langs helpviewer_keywords ms.assetid caps.latest.revision author ms.author manager
Using a Record View (MFC Data Access) | Microsoft Docs
11/04/2016
cpp-windows
article
C++
record views, customizing default code
91f2828f-0666-4273-ae28-e4703fd98521
8
mikeblome
mblome
ghogen

Using a Record View (MFC Data Access)

This topic explains how you might commonly customize the default code for record views that the wizard writes for you. Typically, you want to constrain the record selection with a filter or parameters, perhaps sort the records, customize the SQL statement.

Using CRecordView is much the same as using CFormView. The basic approach is to use the record view to display and perhaps update the records of a single recordset. Beyond that, you might want to use other recordsets as well, as discussed in Record Views: Filling a List Box from a Second Recordset.

See Also

Record Views (MFC Data Access)
ODBC Driver List