answersLogoWhite

0


Best Answer

Open a new query in Design view and add the table you want. Add the fields you want into the design grid. Under the field you want to be able to have a parameter for, in the Criteria row enter a meaningful message inside square brackets. So if you were looking for the user to enter a department that would then be used as the criteria, you could have something like the following in the Criteria row under that field:

[Enter a department]

When the query is run, it will prompt you with whatever has been typed into the square brackets and you can then type in what you want into the dialog box that pops up. Whatever you type will be used as the criteria. It is not important what exactly is typed into the square brackets. It is the square brackets themselves that are important. Without them, what you type in the criteria could be treated as text and have quotes put around it, or as a number or whatever the data type of the field is. Access does not know what the text in the square bracket means and it is asking you for something, which is how a parameter query works. You can also use some operators with it. So if you wanted to only show values above a certain level, you could put the greater than sign before the parameter, like this:

>[Enter a value]

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

10y ago

A parameter query prompts you for a value to enter in as criteria. You put the text you want to appear as the prompt in square brackets in the criteria row under the appropriate field. When Access runs, it does not know what the text means and so it prompts you for a value and then substitutes that into the criteria in the query. On other occasions when Access does not understand something in a query it will also prompt you to enter something, so it is not restricted to parameter queries.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you create a parameter query?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

To create a parameter query enter a parameter rather than a specific value as a criterion in the design grid the parameter must be enclosed in?

Square brackets []


Is A query that prompts for input whenever it is run is a run-time query?

It is referred to as a parameter query.It is referred to as a parameter query.It is referred to as a parameter query.It is referred to as a parameter query.It is referred to as a parameter query.It is referred to as a parameter query.It is referred to as a parameter query.It is referred to as a parameter query.It is referred to as a parameter query.It is referred to as a parameter query.It is referred to as a parameter query.


A query that prompts for input whenever it is run is a run-time query?

A query that prompts for input whenever it is run is a Paremeter Query


Prompts for input whenever it is used?

parameter query


What is a query that extracts data from a table which meets certain specified criteria?

If the criteria is entered in by the user as the query is run, by prompting the user, then it is a Parameter query. Criteria can also be built direct into the query in which case it is a standard Select query.


What do you click to create a query on the query wizard on the ribbon in access?

create tab


What is a parameter queris?

a parameter query is a query that prompts the user to enter specific criteria every time the query is run. When building the query, you would enter the prompt in the criteria line under the field you want the information to be filtered from. For example, if you wanted to look at items that sold on a specific date each time you ran the query, your criteria line would look like this: [enter date of sale] So when you ran the query, before your results even appeared, a parameter box would pop up telling you "enter date of sale", the user would enter the date and then the filtered criteria of the query results will show.


What is the difference between simple and complex queries?

a simple query is when you answer a database to do something and a complex/parameter query is a prompt to run a question to find something


What is a parameter in Excel?

A parameter is a value that is used to carry out of task. It can be interpreted in a few ways. Parameters can be the values used to define filters if querying data in Excel. So if you have a list of data and want to show only some of it based on some criteria, that criteria can be referred to as parameters. If data is being read from an external source, it may require a parameter to define what data to show. Microsoft Access has something called a parameter query where a value is fed in at the time the query is run. That value is called a parameter. So if Excel is reading a parameter query from Access, it will need to provide a parameter to do it with. A parameter can be a value that is used in a function, though that is more commonly called an argument. In order for many functions to work they need values to work on. These are called arguments or occasionally parameters.


Can you create a form for a query?

no


What are two ways to create a query?

by using the query wizard or design view


What is a parameters?

a parameter query is a query that prompts the user to enter specific criteria every time the query is run. When building the query, you would enter the prompt in the criteria line under the field you want the information to be filtered from. For example, if you wanted to look at items that sold on a specific date each time you ran the query, your criteria line would look like this: [enter date of sale] So when you ran the query, before your results even appeared, a parameter box would pop up telling you "enter date of sale", the user would enter the date and then the filtered criteria of the query results will show.