DaoEnrol Step 3
In the Enroll tutorial Lesson 4, in Adding and Deleting Records, you will learn how to add and delete records. Follow the topics listed below to complete Step 3 of DaoEnrol.
In the Enroll tutorial, Lesson 4:
Next, complete the following DaoEnrol Step 3 topics, which vary slightly from those in the Enroll tutorial:
Updating the Data Source with the Added Record in DaoEnrol
The steps for updating a data source are different for a DAO-based database application.
Disabling Combo Box Logic in Add Mode in DaoEnrol
The instructions here are identical, but are provided for your convenience.
Implementing the Delete Command in DaoEnrol
Exception handling differs in the DAO database classes, so an appropriate code block is provided in this topic.
Implementing the Refresh Command in DaoEnrol
CDaoRecordset are slightly different than those in CRecordset.
Note The figures in Lesson 4 show “Enroll” in the title bar of the mainframe window. Your application will show “DaoEnrol”. Remember to substitute CDaoRecordset for CRecordset and CDaoRecordView for CRecordView as appropriate.