title: How to quickly populate a combobox with database data (VCL)
body: <p>I have read all sorts of documents across the web about what should be a farly common and painless implementation. Since I have found no consistent and slick reply (even the Embarcadero website describes some properties wrong!) I am going to post a "short" howto.</p>
  
  <p>Typical, frequent use case: the developer just wants to painlessy show a couple of database-extracted information in a combo box (i.e. a language selection), get the user's choice out of it and that's it.</p>
  
  <p>Requirements:</p>
  
  <ol>
  <li>Delphi, more or less any version. VCL is covered.</li>
  <li>A database table. Let's assume a simple table with an <code>id</code> and <code>value</code> fields.</li>
  <li>A DataSet (including queries and ClientDataSets).</li>
  <li>A DataSource linked to the DataSet.</li>
  <li>A TDBLookupComboBox linked to the DataSource that shall show a list of values and "return" the currently selected id.</li>
  </ol>