Article ID: 225938
Article Last Modified on 6/29/2004
APPLIES TO
- Microsoft Access 2000 Standard Edition
This article was previously published under Q225938
Moderate: Requires basic macro, coding, and interoperability skills.
This article applies only to a Microsoft Access database (.mdb).
For a Microsoft Access 2002 version of this article, see 293613.
SYMPTOMS
When you try to edit code in a module, you may see the following message, even though you just saw the same message:
You do not have exclusive access to the database at this time. If you proceed to make changes, you may not be able to save them later.
CAUSE
You see this message more than once when you are in a multiuser environment, and you perform either of the following actions:
- You insert a new module, and then edit any module.
-or-
RESOLUTION
Click OK to close the second occurrence of the message. You can then make the changes to the code; however, you may not be able to save the changes that you make.
STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
MORE INFORMATION
Steps to Reproduce Behavior
- Open the sample database Northwind.mdb.
- Open a second instance of Northwind.mdb.
- In the Database window, click Modules under Objects, and then click New. Note that you receive the message mentioned in the "Symptoms" section.
- Click OK.
- Open the Form_Employees class module.
- When the Code window appears, make any change to the module. Note that the same message appears a second time.
- Click OK. Note that the message appears a third time.
REFERENCES
For additional information about exclusive locks, please see the following article in the Microsoft Knowledge Base:
200290 Need Exclusive Lock to Save Design Changes to Objects
Additional query words: pra two times twice three
Keywords: kbbug kbpending KB225938