Programming Microsoft Access 2000 (Microsoft Programming Series)
There are three basic kinds of modules:
- Standard modules.These hold subprocedures and function procedures that you want to make available throughout a database file. Standard modules can also contain variables defined with a Public declaration that you want to make available to procedures in other modules.
- Standalone class modules.These let you create custom objects. You can define properties, methods, and events for these objects, and you can use the New keyword to create instances of the form objects.
- Class modules for forms and reports (often called form and report modules).Forms and reports by default all have modules behind them (their HasModule property is set to True by default). You can use the Me keyword when referring to the modules behind forms and reports.