Populate ComboBox with Table Fields
Posted on 2007-09-28
I'm writing an application which connects to a database using ADO.
Up to there all ok.
In that Database I have create 2 tables.
For the connection I am using TADOQuery.
I have a comboBox which I have populated manually with the names of the 'Categorys' field, which is OK but I would have to check on the ComboxBox manual IF the Category names changed.
Is there a way to import the Categories from the Table into the ComboxBox?
This way I wouldn't have to do it manually.