Full Version: Populating A Combo Box From A Table Without Duplicates
UtterAccess Discussion Forums > Microsoft® Access > Access Forms
invisage13
Me again with yet another question crazy.gif

Used the combobox wizard to create a combobox that references a list of suburbs from a table. Only problem is that there are of course records that contain the same suburb and so when you use the drop down list you see multiples.

What would be the best method to avoid the dup data?

Thanks once more.
dblife
Highlight the combo in design view, go to rowsource and use a query as the rowsource, change the view to sql view and after select, write 'distinct'
invisage13
QUOTE (dblife @ Dec 9 2010, 03:04 PM) *
Highlight the combo in design view, go to rowsource and use a query as the rowsource, change the view to sql view and after select, write 'distinct'


too easy. just a wealth of knowledge smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.