Share via


Displaying and Manipulating Data in a Form

OverviewHow Do IFAQSampleODBC Driver List

Many data-access applications select data and display it in fields in a form. The database class gives you a object directly connected to a recordset object. The record view uses dialog data exchange (DDX) to move the values of the fields of the current record from the recordset to the controls on the form, and to move updated information back to the recordset. The recordset, in turn, uses record field exchange (RFX) to move data between its field data members and the corresponding columns in a table on the data source.

You can use AppWizard or ClassWizard to create the record view class and its associated recordset class in conjunction.

The record view and its recordset are destroyed when you close the document. For more information about record views, see the article Record Views. For more information about RFX, see the article Record Field Exchange (RFX).