Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Query parameters are the Access database’s secret weapon. Query parameters let you create supremely flexible queries by intentionally leaving out one (or more) pieces of information. Every time you run the query, Access prompts you to supply the missing values. These missing values are the query parameters.
Usually, you use query parameters in filter conditions. Suppose you want to view the customers who live in a specific state. You could create a whole range of different queries, like NewYorkCustomers, CaliforniaCustomers, OhioCustomers, and so on. If you’re really interested in only a few states, this approach makes sense. But if you want to work with every one, it’s better to create a single query that uses a parameter for the state information. When you run the query, you fill in the state you want to use at that particular moment.