How to fill a combobox with the items from a query
I am trying to create a search fucntion.
For that i need to fill a combobox with te returnd values
of a query. I created te following query on my dataset designer.
SELECT DISTINCT ACHTERNAAM FROM TELEFOONLIJST.
If i run this query in the query designer i get al de names in my database. when i insert the following code:
Only the fist value form the query result is placed in the combobox.
How do i get all the values from this query in my combobox.
I canÂ´t bind the combobox because it is an toolstripcombobox.
I hope someone can help me.