ACC: Compile All Command Is Enabled After Saving a Module
ID: Q89684
|
The information in this article applies to:
-
Microsoft Access versions 1.0, 1.1, 2.0
SUMMARY
Moderate: Requires basic macro, coding, and interoperability skills.
This article explains why the Compile All command (in Microsoft Access
version 1.x) or the Compile Loaded Modules command (in Microsoft Access
version 2.0) is enabled after saving a module.
MORE INFORMATION
After you compile a module by choosing Compile All or Compile Loaded
Modules from the Run menu, the Compile All or Compile Loaded Modules
command is unavailable (appears dimmed). This is expected because you do
not need to recompile a module until you make a change to it.
However, if you save the module by choosing Save from the File menu, the
Compile All or Compile Loaded Modules command is available even though you
have not made any changes to the module.
Modules are always saved in an uncompiled state. When you save the
module, some of the program code in memory actually is "de-compiled"
for internal requirements for saving the module. Because there may be
uncompiled code in memory, the command is enabled again.
Note that this does not affect startup performance.
NOTE: In Microsoft Access version 7.0 the Compile All and Compile Loaded
modules are always available.
Keywords : kbprg kbui
Version : 1.0 1.1 2.0
Platform : WINDOWS
Issue type : kbprb