Skip to Content
author's profile photo Former Member
Former Member

combo event

hi

i want to select the values based oncombo

in which event i have to write the code

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Aug 02, 2011 at 08:57 AM

    Hi Hareeh,

    You have to write ur code in combo_select event in before action = false.

    if you want the combobox value then you have write

    ocombo.selected.value

    for description

    ocombo.selected.description

    Regards,

    Anand.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Hareesh

      Try this way

      Private Sub SBO_Application_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.ItemEvent
              Try
      
                  If (FormUID = "FORM-UID") Then
                      If (pVal.Before_Action = False) Then
      
                          ' After selecting a value from the combo box
                          If (pVal.ItemUID = "combo-UID") And (pVal.EventType = SAPbouiCOM.BoEventTypes.et_COMBO_SELECT) Then
                             Dim str as String= cmbBPCode.Selected.Description
                             'Your Code
                          End If
      
                      End If
                  End If
      
              Catch ex As Exception
              End Try
          End Sub

      Hope this helps you

      Regards

      Arun

  • author's profile photo Former Member
    Former Member
    Posted on Aug 19, 2011 at 07:14 AM

    thank u

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.