List box help

  • Thread starter Thread starter wesley.allen
  • Start date Start date
W

wesley.allen

Hello All. Happy Thanksgiving.

I have alist box that is looking up values from a table. This table
may have the same value listed more than once. Is there a way to have
my list box only list the value once, even if it appears more than once
in the table the list box is pulling the value from?

Thanks.
 
Hello All. Happy Thanksgiving.

I have alist box that is looking up values from a table. This table
may have the same value listed more than once. Is there a way to have
my list box only list the value once, even if it appears more than
once in the table the list box is pulling the value from?

Thanks.

In the query that the ListBox is using for its RowSource open the property sheet
in design view and enter "Yes" for the Unique Values property. In SQL view this
would be the same as adding the DISTINCT keyword.
 

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

Back
Top