ACC2002: Changes to a Form in PivotTable View or PivotChart View Are Not Saved in a Multi-user Environment (275106)
The information in this article applies to:
This article was previously published under Q275106 Novice: Requires knowledge of the user interface on single-user computers.
This article applies only to a Microsoft Access database (.mdb).
SYMPTOMS
When you make changes to the PivotTable view or the PivotChart view of a form in a Microsoft Access database, the changes are not saved when you close the form.
CAUSE
The database is being used in a multi-user environment and more than one instance of the database is open. If you are the only user, then changes made to the PivotTable and PivotChart views of forms are saved as you expected.
RESOLUTION
There are two possible resolutions to this issue. Either open the database exclusively, or use the PivotTable and PivotChart views of a table or query rather than a form.
Method 1: Open the Database Exclusively
If you open the database exclusively, it prevents other users from opening it until you close the database. This will ensure that all design changes you make to the PivotTable and PivotChart views of forms will be saved automatically. To open the database exclusively, follow these steps:
- Start Microsoft Access. On the File menu, click Open.
- In the Open dialog box, select the database that you want to open exclusively, and then click the arrow to the right of the Open button.
- Click Open Exclusive. If the database is not in use, it opens, giving you exclusive rights to use it. All other users are unable to open the database while you have exclusive use.
If the database is already in use, you receive the following alert:
You can't open 'C:\MyDatabase' for exclusive use because another user has the database open or because you do not have permissions to open exclusively.
Microsoft Access will open the database for shared access.
If the database is already opened exclusively by another user, then Access displays the following alert:
Could not use 'C:\MyDatabase'; file already in use.
Method 2: Use the Pivot Views of a Table or Query
Tables and queries do not fall under the exclusive lock requirement. Thus, it is possible to save changes made in the PivotTable and PivotChart views of a table or query in a multi-user environment. Note that a limitation of this approach is that tables and queries do not expose events for PivotTables or PivotCharts. To modify the PivotTable view of a table in a multi-user environment, follow these steps:
- Start two instances of Microsoft Access.
- Open the sample database Northwind.mdb in both instances.
- Minimize the second instance of Microsoft Access. Use the first instance for the remainder of these steps.
- On the View menu, point to Database Objects, and then click Tables.
- Select the Orders table in the Database window, and then click Open.
- On the View menu, click PivotTable View.
- In the PivotTable Field List, click and drag the CustomerID field and drop it on the Row Fields drop zone on the left side of the PivotTable.
- Similarly, click and drag the EmployeeID field and drop it on the Column Fields drop zone near the top of the PivotTable.
- To complete the PivotTable, click and drag the Freight field and drop it on the Detail Fields drop zone in the middle of the PivotTable.
- Close the table.
- Click Yes when Microsoft Access prompts you to save the changes to the table.
- Open the Orders table again.
- On the View menu, click PivotTable View.
Notice that Microsoft Access successfully saved the changes you made in PivotTable view.
STATUS
This behavior is by design.
| Modification Type: | Minor | Last Reviewed: | 1/26/2005 |
|---|
| Keywords: | kbnofix kbprb KB275106 |
|---|
|