OpenModule


Opens a code module.

Syntax

DoCmd.OpenModule [ModuleName][, ProcedureName]

with the following parameters:

ModuleName

The name of the module to open.

ProcedureName

The name of the procedure to display in the window.

Comments

  • Though both arguments are optional, one must be included.

  • If ModuleName is omitted, Access searches all standard code modules in the database for ProcedureName.

  • If ProcedureName is not provided, Access opens the code module to the declarations section.

  • You might use this method to automate opening code modules while programming. You would rarely, if ever, want it to run in code executed by end-users.




Access VBA Programming
Microsoft Access VBA Programming for the Absolute Beginner
ISBN: 1598633937
EAN: 2147483647
Year: 2006
Pages: 214
Authors: Michael Vine

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