ACC2002: PivotChart Subform Is Printed Outside of Margins and Is Repeated on Second Page (286600)
The information in this article applies to:
This article was previously published under Q286600 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 print a form that contains a subform in PivotChart view, the PivotChart ignores the right margin of the page, and some portions of the PivotChart are duplicated on subsequent pages. For example, a subform PivotChart that spans two pages will duplicate the legend on both pages.
CAUSE
The width of the subform, plus the right and left margins, exceeds the paper size that you currently have selected.
RESOLUTION
Use one of the following workarounds.
Change Print Options So That the PivotChart Is Printed on One Page
Change the printer options so that the PivotChart is printed on one page. For example, by reducing the left and right margins and changing the orientation to landscape, you may be able to fit the PivotChart on one page. For an example of how to change printer options for a form, follow these steps:
- Open the sample database Northwind.mdb.
- Open the Sales Analysis form.
- Click Show PivotChart to view the subform in PivotChart view.
- On the File menu, click Page Setup.
- On the Margins tab, reduce the Left and Right margins to .5" each.
- Click the Page tab.
- Click the Landscape under Orientation.
- Click OK to close the Page Setup dialog box.
Note that the PivotChart previews correctly on one page.
Reduce the Width of the Subform in Design View of the Main Form
The PivotChart view of a subform is sized to fit within the subform control. When you print preview the main form, the width of the PivotChart is dictated by the width of the subform that contains it. By reducing the width of the subform in Design view of the main form, you can reduce the width required to display the subform in PivotChart view and during printing. For an example of how to change the size of a subform in PivotChart view, follow these steps:
- Open the sample database Northwind.mdb.
- Open the Sales Analysis form in Design view.
- On the View menu, click Properties to display the property sheet.
- Click the arrow in the combo box at the top of the property sheet, and then click Sales Analysis Subform1.
- Click the Format tab.
- Set the Width property to 6".
- Click the arrow in the combo box at the top of the property sheet again, and then click Form.
- Click the Format tab.
- Set the Width property to 6.5".
- On the File menu, click Save.
- On the View menu, click Form View.
- Click Show PivotChart.
- On the File menu, click Print Preview.
Note that the PivotChart previews correctly on one page.
Open the Subform Separately from the Main Form
Open and print the subform separately from the main form. The PivotChart view of a main form is always fitted to print on one page, regardless of the page settings. Therefore if you open the subform separately from the main form, you can preview or print it without the legend being duplicated on multiple pages.
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: | 11/5/2003 |
---|
Keywords: | kbbug kbnofix kbprint KB286600 |
---|
|