Skip to Content
0
Former Member
Dec 16, 2008 at 06:58 AM

SELECT VALUE FROM COMBO BOX

217 Views

Hi,

i am using combo box in my application, i wrote some code to selt the value from the combo box but it is not working fine, can u plz tell me the right way.

here is the code.

If pVal.Before_Action = True Then

Select Case pVal.FormUID

Case "REACTOR_"

Select Case pVal.ItemUID

Case " 52"

Dim oCombo As SAPbouiCOM.ComboBox = oForm.Items.Item("52").Specific

If pVal.EventType = SAPbouiCOM.BoEventTypes.et_COMBO_SELECT Then

SBO_Application.MessageBox(oCombo.Selected.Value.ToString)

End If

End Select

End Select

End If

Regards

mahi