I have a line of code in vba which searches a database and collects a information. The info that it collects is then put in to a combo box.
Is there anyway of getting the combo box to display only unique values (ie not repeat data)
the query in the code is currently
("SELECT * FROM tblESTIMATE WHERE tblEstimate.IWO")
i have tried using DISTINCT after the select part but this doesnt seem to work correctly. It displays the numbers of the unique rows of data in the Db table not the unique values held in the collumn IWO.
Is there anyway of getting the combo box to display only unique values (ie not repeat data)
the query in the code is currently
("SELECT * FROM tblESTIMATE WHERE tblEstimate.IWO")
i have tried using DISTINCT after the select part but this doesnt seem to work correctly. It displays the numbers of the unique rows of data in the Db table not the unique values held in the collumn IWO.