Access appears to hang when you preview or print an object in PivotTable view (282315)
The information in this article applies to:
- Microsoft Office Access 2003
- Microsoft Access 2002
This article was previously published under Q282315 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
When you preview or print an object in PivotTable view, you receive the following message:
Previewing or printing this PivotTable view might take a long time because it displays a large amount of detail data. Microsoft Access might not respond for some time. Do you want to continue?
* To reduce the amount of time required, hide most or all of the detail data in the view.
* For more information, consult the Microsoft Knowledge Base article Q282315.
After you click OK, Microsoft Access appears to stop responding (hang). However, after a significant wait, the object is successfully displayed in preview or is printed.
CAUSE
The PivotTable is displaying a large amount of detail data.
RESOLUTION
There are two approaches for working around this behavior. You can either reduce the amount of detail data being displayed in the PivotTable, or you can use a different view if you need to preview or print many detail records. Reducing the Amount of Detail Data Displayed
You can reduce the amount of detail data being displayed by viewing only the summary data, and then drilling down to see specific details as needed. The following steps demonstrate how to build a PivotTable that displays only summary data, and how to drill down to see specific details for printing:
- Open the sample database Northwind.mdb.
- Open the Orders table in Datasheet view.
- On the View menu, click PivotTable View.
- Drag the CustomerID field from the PivotTable Field List to the "Drop Row Fields Here" drop area. This displays the data from the CustomerID field down the left side of the PivotTable.
- Expand the Order Date by Month fieldset in the PivotTable Field List.
- Drag the Months field from the PivotTable Field List to the "Drop Column Fields Here" drop area. This displays the months of the years across the top of the PivotTable.
- Drag the Freight field from the PivotTable Field List to the "Drop Totals or Detail Fields Here" drop area. This displays the detail data from the Freight field at the intersection of each row and column.
- Click the Freight column heading under the first month. This should select all the cells in all the columns where there is a value.
- On the PivotTable menu, point to AutoCalc, and then click Sum. Note that the PivotTable displays a total of Freight for each customer in each month.
- On the PivotTable menu, click Hide Details. Note that this hides all details, and shows just the summary data.
- Double-click one of the cells that contains a value, such as the total for ERNSH in November. Note that only the specific details for this total are shown, as opposed to all details.
- On the File menu, click Print Preview.
Note that the object is immediately displayed in Print Preview mode. Reducing the Amount of Data Displayed by Using a Filter
You can also reduce the amount of data that is currently displayed in the PivotTable by applying a filter. To reduce the amount of data that is displayed in the PivotTable by applying a filter, follow these steps:
- Follow steps 1 through 7 in the "Reducing the Amount of Detail Data Displayed" section earlier in this article.
- Click the arrow in the CustomerID column in the PivotTable, and then click to clear the (All) check box, so that no items are currently selected (checked).
- Click to select the check boxes next to "BERGS" and "BLONP", and then click OK. This filters the PivotTable to only display orders for these two customers.
- On the File menu, click Print Preview.
Note that the object is immediately displayed in Print Preview mode. Switch to a Different View Before Previewing or Printing
If you need to display a large amount of detail data while you preview or print the object, switch the object to another view, such as Datasheet view or Form view. These views do not use the PivotTable component, and are not subject to its limitations when printing.
STATUS
This behavior is by design.
Modification Type: | Minor | Last Reviewed: | 6/7/2004 |
---|
Keywords: | kbprint kberrmsg kbprb KB282315 |
---|
|