Chapter 28. Responding to Events with VBA 5.0

All Windows applications are event-driven; event-driven means that an event, such as a mouse click on a command button or a change in the position of a record pointer, executes individual blocks of application programming code. Thus, most of the Access VBA code you write consists of event-handling subprocedures—also called event procedures—that are contained within [{ Public | Private }] Sub {Form|Report}_[ ObjectName _] EventName ... End Sub structures of class modules. Class module is the new VBA term that replaces Access 2.0's and Access 95's use of code-behind-forms (CBF) to describe Access Basic or Access VBA code within a Form or Report container. This chapter describes how to write ...

Get Special Edition Using Access 97, Second Edition 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.