The Code Builder displays the Module window, in which you create or modify an event procedure from within an event property of a form, report, section, or control. Code behind forms is new to Microsoft Access 2.0. This allows you to store attached code with your form or report. Note that this code can't be seen from the module in the database container.
To use the Code Builder:
When you close the Module window, [Event Procedure] appears on the property sheet next to the event property you selected. This indicates that you have code attached to your event.
The Macro Builder can be invoked from an event property as well. Follow the first three steps. Then, instead of choosing the Code Builder, choose the Macro Builder. A new macro window will be opened and the name of the macro will be filled in the event property.