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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access