Chapter 26Events Recognized by Controls

In addition to the events for forms and reports introduced in Chapters 24 and 25, you can control a great many events that occur for labels, text boxes, combo and list boxes, option buttons, check boxes, and other controls installed by default with an Access application. These events make it possible to manage what happens on a field level.

The best way to learn about events that a form, report, and/or control can respond to is to develop an application that addresses specific needs. For example, the AssetsDataEntry.mdb database keeps track of computer assets in various companies. We will use this database to further experiment with event programming. The main data entry form is divided into four easy-to-maintain ...

Get Access 2007 Programming by Example with VBA, XML, and ASP now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.