No. The parameter box has never supported a drop-down list. It is not a
serious interface, is should be avoided if you are writing a serious
application.
The form must be open before the query if you expect the query to read the
value from the combo on the form.
If you have the form opened, and a value chosen in the combo, and then open
the query and still get asked for the parameter, then the reference to the
query is not typed correctly, e.g. there might be a space somewhere.
If this is a crosstab query, you must declare the parameter in the query.
It's a good idea to do that anyway. Choose Parameters on the query menu,
enter the full name of the parameter, and indicate the data type.
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Reply to group, rather than allenbrowne at mvps dot org.
john mcmichael said:
I have folks here at the office telling me that they have been able to do
this in previous versions of Access but htey can't remember how. Is this
something that has been removed from the software?
Thanks again.
Allen Browne said:
It is not possible to get a drop-down list into the Parameter box offered
by
a query.
If you create a form, and put the combo on the form, you can refer to it
in
your query. For example, you could type this into the Criteria row in
your
query:
[Forms].[Form1].[Combo65]
message
I need to create a Query that when run, provides a menu of options to
choose
from. These options can come from an existing table or I can type them
in
while creating the query. Once the option is selected, the query
should
then
complete. I know that I can create a prompt for info using [] around a
statement in a criteria field. Choosing from a list is a better option
for
people in this database but I do not know how to create this type of
feature.