ACC: How to Filter a Report Using a Form's FilterLast reviewed: February 23, 1998Article ID: Q145591 |
The information in this article applies to:
SUMMARYModerate: Requires basic macro, coding, and interoperability skills. This article describes how to create a button on a filtered form that opens a report and applies the same filter to the report that is on the form. NOTE: This article explains a technique demonstrated in the sample files, RptSampl.exe (for Microsoft Access for Windows 95 version 7.0) and RptSmp97.exe (for Microsoft Access 97). For information about how to obtain these sample files, please see the following articles in the Microsoft Knowledge Base:
ARTICLE-ID: Q145777 TITLE : ACC95: Microsoft Access Sample Reports Available on MSL ARTICLE-ID: Q175072 TITLE : ACC97: Microsoft Access 97 Sample Reports Available on MSL MORE INFORMATIONThis technique involves creating a new form and report in the sample database Northwind.mdb. The form uses event procedures to apply a filter and to open the new report. The report uses the Filter property to apply the same filter used in the form.
REFERENCESFor more information about the Filter property, search the Help Index for "Filter Property," or ask the Microsoft Access 97 Office Assistant. For more information about Filter By Form or Filter By Selection, search the Help Index for "Filter By Form" or "Filter By Selection," or ask the Microsoft Access 97 Office Assistant. Keywords : FmrCdbeh kbusage kbfaq Version : 7.0 97 Platform : WINDOWS Hardware : x86 Issue type : kbhowto |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |