Subject IB_ComboBox. Seltext in csDropDownlist not working ? how do I?
Author adrian
Dear All

Wish to do auto fillout of a dataform with a speedbutton, and then want
IB_ComboBox's on the form to filled in with default values that I then
program.

Eg. Press Speed button

IB_ComboBox7.SelText := 'Yellow" works just fine if Style : csDropDown

If Style csDropDownList, and thus storing an integer value in the
database eg: yellow = 1

IB_ComboBox7.SelText := 'Yellow' causes no value to be entered.

If I call
IBComboBox7.ItemIndex := 2; then the correct item is displayed, as if
selected, but when the data is posted, nothing is posted for that
field!!!

How do I go about this. There must be a simple solution

Help please ..hours waisted on this already!

Thanks

Adrian



[Non-text portions of this message have been removed]