Dear Ian:
There is no facility for doing this, except to create a form, put the list
box on that form, and reference that control from the query. For this to
work, the form must be open and the list box must have a selection made.
If you intend to allow for only a single row to be selected, may I recommend
a combo box instead.
If you intend to allow mulitple selections, which only a list box allows,
then some programming is in order.
Referencing a single valued control (not a multi-select list box, but a
single select list box or combo box) is done using this syntax in the query,
where you might otherwise place a literal value for the control:
[Forms]![Form Name]![Control Name]
Replace Form Name with the actual name of your form, and ControlName with
the actual name of your control.
Tom Ellison
Ian King said:
I'd like to set up a query which gives users a list of items to choose
from
when running a query - The chosen item should then be the criteria for
that
field. The list should come from another table which contains that field
as
unique entries Anyone able to help me out?
Thanks in advance