DAO functionality is accessible through the MFC. Based on the CRecordset classes that were written for Open Database Connectivity (ODBC), the CDAORecordset classes provide similar functionality using a similar design paradigm.
The MFC DAO classes are fully integrated with the MFC wizards and the general MFC object structure. If you are already familiar with MFC, or if you’re writing simple database applications that you’d like to easily integrate into your existing MFC-based code, use the MFC DAO classes. If you’re more experienced with programming DAO using Visual Basic, you’ll probably find it easier to use the dbDAO classes.
See Also For more information about using the MFC DAO classes, see the Visual C++ MFC documentation.