combo box question

D

David

Hi

I have a form with a combo box that shows data from a field in table1 and
inserts into table 2. My question is there are duplicates in table 1 so the
combo box shows duplicates. Is there a way to just show single entries.

Thanks,
David
 
K

Ken Snell [MVP]

Add the word DISTINCT between the SELECT word and the first field name in
the combo box's Row Source query.

SELECT DISTINCT FieldName1, ....
 
D

David

Thank you Ken



Ken Snell said:
Add the word DISTINCT between the SELECT word and the first field name in
the combo box's Row Source query.

SELECT DISTINCT FieldName1, ....
 

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

Similar Threads


Top