Combo Box on Unbound Form as Parameter for Query

T

Tom \T\

Hello everyone,

I currently have an Unbound Form with 2 parameters "Start Date" and "End
Date" that I use to enter parameters into a query. I want to add a 3rd
parameter but want it as a combo box based on the "Cities" field. Is it
possible and how?

Tom "T"
 
K

Ken Snell

If what you're saying is you want to have a combo box on the form that
displays in its dropdown list the choices from "Cities", the answer is yes.

Set the control source of the combo box to a query that returns the values
of "Cities" field from the table. Then use the combo box name as the
parameter in the query:
[Forms]![FormName]![ComboBoxName]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top