Microsoft KB Archive/168882

= ACC97: Changing Project Name Doesn't Enable Compile Menu Command =

Article ID: 168882

Article Last Modified on 1/19/2007

-

APPLIES TO


 * Microsoft Access 97 Standard Edition

-



This article was previously published under Q168882



Moderate: Requires basic macro, coding, and interoperability skills.



SYMPTOMS
When you compile a module that you are using by clicking the "Compile and Save All Modules" command on the Debug menu, the Compile menu commands appear dimmed (unavailable) after the module has been compiled. If you change the Project you are using and then try to compile the project, the Compile menu commands remain dimmed.



CAUSE
The Debug menu is not reset when you change the Project you are using. Therefore, the Compile menu commands remain dimmed.



RESOLUTION
Close the module, close the database, and then reopen both the database and the module. Then the Compile menu commands will be available on the Debug menu.



Steps to Reproduce Behavior

 * 1) Create a new blank database.
 * 2) Open a new module.
 * 3) On the Debug menu, click "Compile and Save All Modules." Save the module as Module1. The Compile menu commands on the Debug menu now appear dimmed.
 * 4) On the Tools menu, click Options, and then click the Advanced tab.
 * 5) Change the Project Name, click Apply, and then click OK.
 * 6) On the Debug menu, note that the Compile menu commands still appear dimmed.

