Share via


MFC Database Documentation

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Visual Studio 2017 Documentation. The MFC documentation for DAO and ODBC classes consists of the components listed in the following table.

MFC Database Documentation

For documentation about See
Classes for both DAO and ODBC The class name in the MFC Reference
Global functions and macros for both DAO and ODBC The function or macro name in the MFC Reference
Programming with the MFC ODBC classes ODBC and MFC
Technical notes for both DAO and ODBC MFC Technical Notes

MFC Documentation and DAO Documentation

Throughout the MFC documentation for the MFC DAO classes, you will find references to topics in the DAO SDK documentation, included in the online documentation. Because MFC encapsulates (or wraps) DAO, the MFC documentation:

  • Focuses on MFC and how it differs from the underlying DAO implementation.

  • Points you to the DAO SDK Help topics for the underlying details. These cross-references are always worded as "topic X in DAO Help."

  • Points out differences where MFC does things differently from the way DAO does them. MFC does not wrap all of DAO. For example, MFC does not supply objects for DAO security functionality.

Note

The DAO SDK Help is a separate Help file. There are no hypertext links from this documentation to DAO help in this version of Visual C++.

Note

You might have to do some translating when you are browsing topics in DAO SDK Help. Examples in the primary DAO SDK documentation are written in the Basic programming language, not C++. (But the DAO SDK supplies a set of C++ examples that do not use MFC.)

MFC Documentation and ODBC Documentation

The MFC documentation for the MFC ODBC classes is organized differently. The MFC ODBC classes supply a high-level abstraction that rests on ODBC rather than a wrapper of the ODBC API. Therefore, the two documentation sets are less connected than are the MFC and DAO documentation sets. The ODBC documentation uses the C language, which is much closer to C++ than is Basic.

See Also

MFC Database Classes (ODBC and DAO)
ODBC Basics