Chapter 11. More on Event-Driven Coding

IN THIS CHAPTER

Responding to Events 141

The Event Sequence for Controls 143

The Event Sequence for Forms 149

The Event Sequence for Reports 151

Cancelling Events 152

Case Study: Validating Data 153

Responding to Events

Much of Access programming is event-driven; your VBA code doesn’t just execute at will. The code you write is not constantly running as in a more traditional program. Access itself manages a lot of the interaction between the user and the data. So the code snippets you construct will be triggered by events that occur as the user interfaces with your application design. Events such as entering data into controls, clicking buttons, changing records, and more are used to execute code snippets. ...

Get Microsoft® Office Access 2007 VBA 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.