Set Default Value in a DBLookupComboBox
Posted on 2004-04-15
I'm using a stock version of Delphi 7 and would like to display default values in combo boxes.
I've got DBLookupComboBoxes hooked up to a database source (grabbing values from a lookup table) and working properly; however, I would like to (upon creating a new record) automatically load a default value in the combo box (so as to save the user time by not *having* to select a value if none exists (or isn't applicable), for example).
As it stands right now, a user must manually select values for each combo box upon the creation of a new record...which can be a time-consuming practice (especially if the user selects the value (N/A or none)).
Any help on this would be appreciated. Thanks!