Filtering a Combo Box

G

Gary Hull

I am creating a form to run in front of a table from another
MDB program.

The problem is with a combo box I use to select a record. The
table works like a flat based db. So the combo box shows
duplicate entries. I need to be able to filter the combo box
to show only one instance of a listing.

The combo box may show (B2D0D0D) 30 times I need to see it
only once
 
R

Rick Brandt

Gary said:
I am creating a form to run in front of a table from another
MDB program.

The problem is with a combo box I use to select a record. The
table works like a flat based db. So the combo box shows
duplicate entries. I need to be able to filter the combo box
to show only one instance of a listing.

The combo box may show (B2D0D0D) 30 times I need to see it
only once

The query you are using for the ComboBox has a property named "Unique Values".
Set that to Yes.
 
G

Gary Hull

Thanks for the quick answer!

I seem to be lost I find no "Unique
Values” property with the combo box or the query
I am using access 2000 and 2003
 
R

Rick Brandt

Gary said:
Thanks for the quick answer!

I seem to be lost I find no "Unique
Values” property with the combo box or the query
I am using access 2000 and 2003

ComboBox
RowSource

Press build button [...] to view RowSource query.

In Query designer open the property sheet. It will be the fourth property
listed.
 

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