The MFC ODBC database classes automate moving data between the data source and a recordset object. When you derive a class from
![]() |
---|
If you have implemented bulk row fetching in a derived CRecordset class, the framework uses the bulk record field exchange (Bulk RFX) mechanism to transfer data. For more information, see Recordset: Fetching Records in Bulk (ODBC). |
RFX is similar to dialog data exchange (DDX). Moving data between a data source and the field data members of a recordset requires multiple calls to the recordset's
RFX is mostly transparent to you. If you declare your recordset classes with the MFC Application Wizard or Add Class (as described in
You must manually add a small amount of RFX code in three cases, when you want to:
-
Use parameterized queries. For more information, see Recordset: Parameterizing a Recordset (ODBC).
-
Perform joins (using one recordset for columns from two or more tables). For more information, see Recordset: Performing a Join (ODBC).
-
Bind data columns dynamically. This is less common than parameterization. For more information, see Recordset: Dynamically Binding Data Columns (ODBC).
If you need a more advanced understanding of RFX, see Record Field Exchange: How RFX Works.
The following topics explain the details of using recordset objects:
See Also
Tasks
Reference
Concepts
Open Database Connectivity (ODBC)Recordset (ODBC)