combo box? multiple identicle entries... only one selection?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello All...

I have a combo box that I use for a search feature on form for a field
'size' from form orders.

I want the combo box to just show one value for each of size rather that
each item that has a size?

I hope this is clear ?

Any ideas ? Suggestions?

Brook
 
Hi Brook

Add the keyword "DISTINCT" to the SQL statement in the RowSource of your
combobox. For example, instead of:
Select Size from MyTable;
use this:
Select distinct Size form MyTable;
 
If your query is SQL, then Graham's suggestion should do the trick. If you
used QBE to create your query, then go to design mode, click the Totals
Button, and set the Totals row to Group By.
 

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