Skip to Content
Former Member
Jan 15, 2009 at 09:01 AM

combo select value


I have a problem with comobox select. I have build a form with 3 comboboxes. I added to the form a button for clear all the controls values in the form. When I am in the find mode nad i want to clear the combobox selected value it does not clear the value. and this is only when I am in find mode.

I have also added the empty value to the combo datasource.

the code is something like this:


oCombo.Select(string.Empty, SAPbouiCOM.BoSearchKey.psk_ByValue);

string selectedValue = _cmbCausale.Selected.Value;


The problem is that when I am in find mode the selectedValue it is not string.Empty but it is the last selected value from the form.

does any one have any suggestion?