Rediģēt

Kopīgot, izmantojot


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