Use Combo box like MS Access 2000
Posted on 2002-05-24
I am trying to convert from MS Access 2000 and am running into a small problem with the combo boxes in Delphi. In access if I have an employee maintenance form and on that form is a status field that has a combo box filled with (Active, Inactive, ect.) it is set up by telling the combo box where to get it's list and the column properties and then telling it what data field on the form to be bound to.
However, I haven't found out how to duplicate this behaviour in Delphi yet. I can get the combo box to bind to the status field correctly, but how do I get it to populate with the valid options (They are in a table) and how do I get it to display multiple columns?