0% found this document useful (0 votes)
19 views

Suppose You Wanted To Search The Pizza Payroll Database by 2 Letter Employee Id. Do The Following 1. Start The Query Wizard

The document describes how to create a query in Access that prompts the user to enter a parameter value when running the query. It involves adding fields from a table to the query, exiting the wizard and adding a prompt in the criteria of a field.

Uploaded by

Leslie Ruo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views

Suppose You Wanted To Search The Pizza Payroll Database by 2 Letter Employee Id. Do The Following 1. Start The Query Wizard

The document describes how to create a query in Access that prompts the user to enter a parameter value when running the query. It involves adding fields from a table to the query, exiting the wizard and adding a prompt in the criteria of a field.

Uploaded by

Leslie Ruo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Parameter Queries in Access

Suppose you wanted to search the Pizza Payroll Database by 2 letter employee id. Do the following

1. Start the query wizard


2. Since we are searching, by employee ID, we need to add the appropriate fields from the
Employees table to our query.
3. Exit the wizard, but go to to design mode:
4. In the criteria part of the EmployeeID field, type prompt the user will see when they run the
query: [Enter employee id:]
Notice the square brackets!
5. When the query is run you'll see the prompt. You can enter a two letter employee ID and click
OK. Suppose EI was entered.

6. You should see something like this:

You might also like