on 05-29-2008 10:12 AM
Hi,
I am using 2 combo box in my application.
2nd combox value depends on 1st combo box.
when i change 1st combo box it's change 2nd combo box content, but it was hold previous 2nd combox selected value.
i want clear 2nd combox selected value on change of 1st com box.
my code :
oActcombo = oFormRA.Items.Item("12").Specific
Dim oSActccombo As SAPbouiCOM.ComboBox
oSActccombo = oFormRA.Items.Item("13").Specific
If Not oActcombo.Selected.Value Is Nothing Then
For j = oSActccombo.ValidValues.Count - 1 To 0 Step -1
oSActccombo.ValidValues.Remove(j, SAPbouiCOM.BoSearchKey.psk_Index)
Next
End If
For j = oSActccombo.ValidValues.Count - 1 To 0 Step -1
oSActccombo.ValidValues.Remove(j, SAPbouiCOM.BoSearchKey.psk_Index)
Next
oSActccombo.Select(Nothing)
regards,
Avijit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
7 | |
7 | |
4 | |
3 | |
3 | |
3 | |
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.