ACC: Saving Filter By Selection/Form Doesn't Limit RecordsetLast reviewed: May 30, 1997Article ID: Q152364 |
The information in this article applies to:
SYMPTOMSNovice: Requires knowledge of the user interface on single-user computers. When you save the results of a query after you apply additional filters using Filter By Selection or Filter By Form, the saved recordset consists of all records that were returned before you applied the additional filters.
CAUSEAny criteria you apply using Filter By Selection or Filter By Form is saved in the Filter property of the query. When you open the query again, it shows all the records. The Filter property is not applied until you click the Apply Filter button on the toolbar or click Apply Filter/Sort on the Records Menu.
RESOLUTIONTo ensure that only the necessary records are saved with the new query, you need to manually add all additional filtering as criteria within the QBE grid or the SQL Select statement.
MORE INFORMATIONAny field names and values chosen when you use Filter By Selection or Filter By Form will be stored with the query's Filter property. This filter only affects the output of the query in memory (when applied), but does not modify the Select statement. When you click Save As/Export on the File menu, Microsoft Access, by design, saves the query's actual Select statement (the query's design), not the results of what the query holds in memory.
Steps to Reproduce Behavior
REFERENCESFor more information about filter by selection or filter by form, search the Help Index for "Filter by Selection" or "Filter by Form." |
Keywords : kbusage QryAppnd
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |