Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 1.26 KB

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

File metadata and controls

17 lines (13 loc) · 1.26 KB
description title ms.date helpviewer_keywords ms.assetid
Learn more about: Using a Record View (MFC Data Access)
Using a Record View (MFC Data Access)
11/04/2016
record views, customizing default code
91f2828f-0666-4273-ae28-e4703fd98521

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