ACC2000: Access Prompts You to Save Form After You Use the Code Builder (241811)
The information in this article applies to:
This article was previously published under Q241811 Novice: Requires knowledge of the user interface on single-user computers.
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
SYMPTOMS
Access prompts you to save changes when you close a form or a report even though you did not make any design changes.
CAUSE
You used the Code builder to view the module of the form or the report. When you use the Code builder to view a form or a report module, the builder always marks the form as dirty even if you did not make any design changes. When you close the form or the report, Microsoft Access prompts you to save it.
RESOLUTION
To avoid the save prompt when you want to view a form or report module, do not use the Code builder. Instead, use one of the following methods to view the form or report module.
Method 1: Use the Code command on the View Menu- Start Microsoft Access 2000.
- Open the sample database Northwind.mdb.
- Open the Employees form in Design view.
- On the View menu, click Code to view the module of the form.
- Browse to the procedure that you want to view.
- Close the Visual Basic Editor without making any changes, and then return to Microsoft Access.
- Close the Employees form without making any changes.
Note that Microsoft Access does not prompt you to save the form.
Method 2: View the Module from the Project Explorer in the Visual Basic Editor- Start Microsoft Access 2000.
- Open the sample database Northwind.mdb.
- Open the Employees form in Design view.
- On the Tools menu, point to Macro, and then click Visual Basic Editor.
- On the View menu, click Project Explorer.
- In the Project Explorer, expand the Microsoft Access Class Objects folder under your database.
- Locate the form or report module that you want to view, and then double-click to open it.
- Browse to the procedure that you want to view.
- Close the Visual Basic Editor without making any changes, and then return to Microsoft Access.
- Close the Employees form without making any changes.
Note that Microsoft Access does not prompt you to save the form.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 6/30/2004 |
---|
Keywords: | kbbug KB241811 |
---|
|