ACC2002: Filter By Form Command Applied to Datasheet View Does Not Affect PivotTable or PivotChart View (287469)
The information in this article applies to:
This article was previously published under Q287469 Novice: Requires knowledge of the user interface on single-user computers.
This article applies only to a Microsoft Access project (.adp).
SYMPTOMS
When you apply a filter to a table in a Microsoft Access project and switch to PivotTable or PivotChart view, the complete set of records is represented in that view instead of the filtered set.
CAUSE
This behavior occurs because the client-side filters applied to tables in an Access project do not affect the selection of records in a table's PivotTable or PivotChart view.
RESOLUTION
If you want to filter the records for PivotTable or PivotChart view in an Access project, you must apply a server filter, which can only be done by using a form or a report. To do this, follow these steps:
- Open the sample project NorthwindCS.adp.
- In the Database window, click Forms under Objects, and then click New. In the New Form dialog box, click AutoForm: Datasheet, select the Customers table, and then click OK.
- On the View menu, click Design View, and then again on the View menu, click Properties.
- On the Property sheet's Data tab, type CustomerID Like 'a%' in the ServerFilter property.
- On the View menu, click PivotTable View or PivotChart View.
- From the PivotTable or PivotChart Field list, drag CustomerID to the appropriate section.
Note that only the filtered records are represented.
REFERENCESFor more information about the ServerFilter property, click Microsoft Access Help on the Help menu, type serverfilter in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
Modification Type: | Major | Last Reviewed: | 11/5/2003 |
---|
Keywords: | kbprb KB287469 |
---|
|