Setting Up the Student Registration Data Source for DaoEnrol

Before you begin the DaoEnrol tutorial you must specify a database. You can either:

Suggested Reading in the Visual C++ Programmer’s Guide

MFC support for Data Access Objects (DAO) does not rely on Open Database Connectivity (ODBC) for most database formats. Because of the flexibility of the DAO database classes, you have several options for creating and using the DaoEnrol database:

Note   When you use AppWizard to create a DAO database application, the only database type offered as a selection is a Microsoft Access .MDB file. This tutorial assumes that you will use the StdReg32.mdb file. If you use another database type, you must use Microsoft Access to create an .MDB file, attach the database table to that .MDB file, and select that .MDB file during the selection of the Data Source in MFC AppWizard – Step 2 of 6.