when opening a query that has a set criteria a window opens with text box. Is
it possible to change the text box into a combo box so that the proper query
criteria can be selected rather than typed?
Adapt this to your needs.
Create an unbound form.
Add a combo box.
Set the Row Source of the combo box to include the
CompanyID field and the Company Name.
Name the Combo Box 'FindCompany'.
Set it's Bound column to 1.
Set it's Column Count property to 2.
Set the Column Width property to 0";1"
Add a Command Button to the form.
Code the button's click event:
DoCmd.OpenQuery "QueryName"
DoCmd.Close acForm, Me.Name
Name this form 'ParamForm'.
As criteria in the query CompanyID field write:
forms!ParamForm!FindCompany
Select the company, click the command button, the query will run.