ACC: You Are Prompted Twice for Same Query Parameter Value (176144)
The information in this article applies to:
- Microsoft Access for Windows 95 7.0
- Microsoft Access 97
This article was previously published under Q176144 Novice: Requires knowledge of the user interface on single-user computers.
SYMPTOMS
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.
CAUSE
You 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.
RESOLUTION
To work around this behavior, use either of the following methods.
Method 1
Close the query, and open it from the Database window.
Method 2
Remove the filter from the query. To do so, follow these steps:
- Open the query in Design view.
- Right-click in the gray area on the top half of the QBE grid, and then
click Properties on the shortcut menu that appears.
- In the Query Properties dialog box, delete the contents of the Filter
box.
REFERENCES
For more information about the Filter property, search the Help Index for
"Filter property," and display the topic "Filter property (Microsoft
Access)."
Modification Type: | Major | Last Reviewed: | 10/20/2003 |
---|
Keywords: | kbprb KB176144 |
---|
|