Skip to Content
0
Former Member
May 21, 2007 at 10:16 AM

Get ItemCode from Matrix

24 Views

Hi All,

I do encounter a problem to get the ItemCode Value from matrix. Do anyone have this problem. Below is my code

            If pVal.FormTypeEx = "139" and pVal.EventType = SAPbouiCOM.BoEventTypes.et_LOST_FOCUS And _
                    pVal.ItemUID = "38" And _
                    pVal.ColUID = "14" Then

                    Dim oMatrix1 As SAPbouiCOM.Matrix
                    Dim oEditText0 As SAPbouiCOM.EditText
		    Dim sItemCode as string

                    oMatrix1 = SBO_Application.Forms.Item(FormUID).Items.Item("38").Specific
                    oEditText0 = oMatrix1.Columns.Item("ItemCode").Cells.Item(pVal.Row).Specific
                    sItemCode = oEditText0.value

		end if