ACC: You Are Prompted Twice for Same Query Parameter ValueLast reviewed: November 4, 1997Article ID: Q176144 |
The information in this article applies to:
SYMPTOMSNovice: Requires knowledge of the user interface on single-user computers. When you switch a query from Design view to Datasheet view, Microsoft Access prompts you for the same parameter twice; that is, you must type the same parameter value twice in order to view the correct results in Datasheet view.
CAUSEYou have set the Filter property of the query. When you switch from Design view of the query to Datasheet view, the query runs twice--once when the query opens, and again when the filter is applied. Each time the query runs, you receive a prompt for the parameter.
RESOLUTIONTo work around this behavior, use either of the following methods.
Method 1Close the query, and open it from the Database window.
Method 2Remove the filter from the query. To do so, follow these steps:
MORE INFORMATIONThis behavior occurs only if you already have the query open and in the filtered state when you switch to Design view. If you open the query directly from the Database window, you receive only one prompt for the parameter. Microsoft Access prompts you for the parameter again when you apply the filter by clicking the Apply Filter button on the Query Datasheet toolbar or by clicking the Apply Filter/Sort command on the Records menu.
Steps to Reproduce Behavior
REFERENCESFor more information about the Filter property, search the Help Index for "Filter property," and display the topic "Filter property (Microsoft Access)."
|
Additional query words: double PRB
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |