MSAccess: Parameters

Scenario: I have a query in Microsoft Access that is creating a new table with data going to a certain number of years. I want the query to prompt me for the number of years, as opposed to editing the query and putting in the number of years.
Use “Parameters” to do this. In the Criteria field, you would normally have something like:

or

to filter your query. Instead, type the question you want to appear on screen in brackets.

MS_Access_Parameter

Now, when you run the query, a popup box will appear asking for input:

Parameter_Prompt

More information from Microsoft Help…