Parameter Queries

T

Tony

My parameter query works fine. The query asks for the user to input data to
search for and then it finds it. What I need is for the query to loop and ask
me again without me having to exit and re-enter the query to input again. Can
anyone help me?
[email protected] (Tony)
 
O

Ofer

You can create a loop using code to run the query several time, I assume it's
an action query

dim I as integer
docmd.setwarnings false
For I=1 to 10 ' 10 loops
docmd.OpenQuery "QueryName"
next I
docmd.setwarnings true
 
Top