Module Types

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.


Programming Microsoft Access 2000
Programming Microsoft Access 2000 (Microsoft Programming Series)
ISBN: 0735605009
EAN: 2147483647
Year: 1998
Pages: 97
Authors: Rick Dobson

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net