delphi - TDbLookupComboBox or equivalent control with a set of fixed values? -


Is there a TDbComboBox -like control, which is a fixed list (for example by

code = 1 = small 2 = medium 3 = big

database I save 1 or 2 or 3, but only this value should be displayed in the combo box.

< P> has a TRzDbComboBox where you have separate lists for items and values.

With help:

TRzDBComboBox A Valuation Supports property, which can be used to define the list of associated values ​​that are stored in the selected database field instead of the string values ​​created in the item list. For example, the item list includes the following items Can be set to: Visa, MasterCard, American Express; While the price list will have lower values: Visa, MC, Amex, if sub If the yogi selects the American Express item in the drop down, then the AMEX value will be stored in the database table.


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -