duplicates in combo box

J

Jeff Boyce

Without that combo box's underlying row source SQL statement, and without an
idea of what the underlying data structure looks like, I could only guess...

Are you using a query for the 'source'? Is there a join in the query? What
happens if you only run the query -- duplicates?
 
C

Cheryl Fischer

If the Row Source of the combo box is a table that contains already contains
duplicates of your combo box items, you could make the Row Source a query of
that table using:

Select Distinct Field1, Field2 ...

Or, if your users are inadvertently entering duplicate values rather than
selecting them, set the Limit to List Property of the combo box to 'Yes'.

hth,
 
C

CrazyITGuy

its just a basic combo box that i am pulling from a field. Such as work job code, there is multiple values of that job code in the field. When i edit the combo box in the row source i put

SELECT
.job_code FROM


then i execute a query that only brings the value of what is in that combo box

hope that helps

thanks again!
 
C

Cheryl Fischer

See if replacing the existing Row Source of your combo box with the
following will work for you:

SELECT DISTINCT
.job_code FROM
;


hth,
--

Cheryl Fischer, MVP Microsoft Access
Law/Sys Associates, Houston, TX


CrazyITGuy said:
its just a basic combo box that i am pulling from a field. Such as work
job code, there is multiple values of that job code in the field. When i
edit the combo box in the row source i put :
SELECT
.job_code FROM
;

then i execute a query that only brings the value of what is in that combo box.

hope that helps.

thanks again!
 

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