Access queries pull information from the database table based on set criteria. One option for the criteria includes the ability to create user prompts. When the query is run, a box pops up giving you directions. These prompts include matching single field values such as a name or a range of fields such as dates. You enter a value into the box and the query pulls all the applicable information.
- Skill level:
Other People Are Reading
Open your Microsoft Access database.
Select the "Create" tab on the top menu bar. Click the "Query Wizard" button. Select "Simple Query Wizard." Click "OK."
Click the down arrow and choose a table or query to base your new query on.
Choose the fields you want to add to your query. Click the ">" button to add the fields. Click "Next."
Name your query. Click the radio button next to "Modify the query design." Click "Finish."
Place your cursor in the "Criteria" box of the field you are searching. Type the words you want to appear on the prompt. Make sure to enclose the phrase in square brackets. For example:
[What name are you searching for?]
Click the "Run" button on the top ribbon. A box should appear that shows the phrase you typed. Enter a response. The query pulls all records that contain that word or number.
Tips and warnings
- To do a range of dates use:
- Between [The start date:] And [The end date:]
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for