Running a query on items selected from a list box.

G

Guest

I am trying to create a query that will only show the values for names
selected in a list.

I have a form that has a list box that shows all of the team members. In the
database there is a table that contains all of the stat information for each
team member. I have the list box's Multi Select property set to "Simple" so
that the user can select multiple agents on the list. I need the query to
only show the stats for the names selected on the list box.

Any suggestions?
 
G

Guest

That would work if I had the Multi Select property set to None and only
wanted to select one name at a time but I need to be able to select multiple
names from the list and have the query show data for each of the names
selected.

KARL DEWEY said:
Use the listbox as criteria like this ---
[Forms]![YourFormName]![YourListBox]
--
KARL DEWEY
Build a little - Test a little


Thomas said:
I am trying to create a query that will only show the values for names
selected in a list.

I have a form that has a list box that shows all of the team members. In the
database there is a table that contains all of the stat information for each
team member. I have the list box's Multi Select property set to "Simple" so
that the user can select multiple agents on the list. I need the query to
only show the stats for the names selected on the list box.

Any suggestions?
 

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