Adding Features and Function to Forms 303 After you complete this chapter: · For information about how to create forms you can use on a Web site, called data access pages, go to Chapter 12, "Access and the Web." To learn about creating reports, go to Chapter 10, "Presenting Data with Reports." On Your Own Here are some exercises you can perform on your own to gain more experience in working with forms in Access: 1. Add an event procedure to the Cancel button on the ExpenseViews form that closes the form. You can use the Close method of the DoCmd object. Use the ExpenseViews form's Close event to turn on system warnings. (Warnings might have been turned off when the View Ex- penses button Click event ran.) Add code to the Open event for the ExpenseViews form that sets the Value property of the ExpenseCategories list box and the Campaigns list box to Null and sets the Enabled property of the Campaigns list box to False. This code complements the procedure we created earlier in this chapter for the AfterUpdate event of the View Expenses By option group. In the module modDemonstrations contained in the file HelloWorld8.mdb, you'll find a proce- dure named ImportExpenses, which is a version of the procedure we developed in Chapter 5. Open the ExpenseViews form in Design view, and modify the form's Open event procedure as follows. (Refer back to Chapter 5 for examples of this procedure if you need to.) a. Declare object variables for a Data Access Objects (DAO) Database object and a Ta- 2. 3.