Datasheet
Finding VBA Code
572
✦ Standard modules: Code can also be stored in standard modules. Code in
standard modules is accessible to all objects in your database, not just a
single form or report.
Opening a class module
If you want to view or change the code for a form or report’s class module,
first open, in Design view, the form or report to which the module is attached.
Then click the View Code button, shown near the mouse pointer in Figure 1-2.
Figure 1-2:
The View
Code
button.
Class module (Code Behind Form)
Form
Figure 1-1:
Every form
and report
has a class
module
behind it.
38_036494 bk08ch01.qxp 11/17/06 8:34 AM Page 572