on 10-16-2008 10:00 AM
Hi All,
I have an issue in clearing the combo. I have a checkbox if the checkbox is selected then i loaded a values taken through query and selected one value in it. Before pressing the add button i unselect the checkbox here i removed the values in the combo but the selected value is displaying in the combo its should get clear how should i do this.
Thanks in Advance.
Regards,
Madhavi.
Hi..
Try this one u have to remove combo value
dim j as integer
ocombo = FormS.Items.Item("combo-ID").Specific
For j As Integer = ocombo.ValidValues.Count - 1 To 0 Step -1
ocombo.ValidValues.Remove(j, SAPbouiCOM.BoSearchKey.psk_Index)
Next
Regards..
Billa 2007
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
ocombo.Select(Nothing)
this is one way
the other way is adding a ""(null) validvalue and selectb it when unchecked and and remove all valid values
regards,
varma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.