Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multiple queries with the same parameters

Status
Not open for further replies.

DanAuber

IS-IT--Management
Apr 28, 2000
255
FR
Is there an easy way to pass the same parameters to multiple queries ? The parameters are prompted for in query one, and then used in ten other queries - at the moment each time a new query starts, Access reprompts for the parameters.<br>I know I can get round this by writing the SQL in a VBA module and getting the parameters at the beginning, I just wondered if there were any other ways using the queries. (I also know you could do it by putting the parameters in a temporary table - but that doesn't seem too elegant)<br><br> <p>Dan Auber<br><a href=mailto:DanAuber@aol.com>DanAuber@aol.com</a><br><a href= Auber's Home Page</a><br>
 
The ususal method is to create a form that collects the parameters, then has a button to launch queries or reports.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top