I have a combobox
with the following manually entered values: Active
, Inactive
. However I want to save only values A
or I
in my database. How do I do this via livebindings
?
FillDataSource = BindSourceDB1
FillValueFieldName = 'value' // A and I would be in this field
FillDisplayFieldName = 'name' // Active and Inactive would be in this field
How to get Item.LookupData and SelectedValue (as integer) of an FMX TComboBox at runtime?