Skip to Content
0
Former Member
Apr 25, 2007 at 11:57 AM

Unable to access form items from DataFormEvent

13 Views

Hi,

Anyone knows the way to access to the form items from the Data_LOAD event (After).

I tried this for the Master Items form (150) and it was unable to access to the items in the form:

Private Sub SBOapp_FormDataEvent(ByRef BusinessObjectInfo As SAPbouiCOM.BusinessObjectInfo, ByRef BubbleEvent As Boolean) Handles SBOapp.FormDataEvent
        If BusinessObjectInfo.BeforeAction = False Then
            If BusinessObjectInfo.EventType = BoEventTypes.et_FORM_DATA_LOAD Then
                Select Case BusinessObjectInfo.FormTypeEx

                    Case 150 'Articulos
                          oTmpForm = oAplicacion.SBOapp.Forms.Item(BusinessObjectInfo.FormUID)
                          oEditText = oTmpForm.Items.Item("5").Specific
                          .....................
                          .....................

                End Select
            End If
        End If
    End Sub

Thank in advanced