• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 28. Responding to Events with VB... > Understanding Access 97's Event Repe...

Understanding Access 97's Event Repertoire

When you interact with an object by using the keyboard or the mouse, you can change the object's state. The object's state is stored with the other data about the object. Access makes some of the changes in the object's state available as opportunities to interrupt normal processing. These special changes in an object's state are called events. An event is a change in the state of an object at which you can interrupt normal processing and define a response.

Not all Access objects trigger (or fire) events. Forms and reports were the only database objects for which Access 95 and earlier databases defined events. All forms, form sections, and controls on a form trigger events; all reports and report sections also trigger events. Access 2.0 defined 35 events; Access 95 added four more: Filter, ApplyFilter, NoData, and Page. Access 97 offers the following four new events: Initialized, ItemAdded, ItemRemoved, and Terminate. These four new events are the first to trigger from objects other than forms, reports, or control objects.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint