reference the form control in the criteria row of the query design grid. As long as the control is not on a subform,
Forms!cmbComboName
If the combo box values being passed/used are text, nulls can present a problem. You can work around this several ways:
- enforce a selection (use validation on the property sheet for the control) or code that runs on a button click (or whatever event you're using to run the query)
- use an IIF or NZ expression in the query criteria to supply a default value
- use a numeric id for the "issue" text, which means the combo box should be based on a SELECT statement or query that returns a row id (such as an autonumber) AND the problem text. The bound field of the control would "pass" the number to the query instead of the text, but the output would be the same as long as any joined table fields are compatible with the number.
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.