get street address from Business Partner (Matrix problem)
I want to get the street value (address) in Business Partner, that is just entered by a user (but not yet saved), because I have to do some comparison before it's saved.
Here is the system info for street in Business Partner:
And, here is my code (VB):
Dim mtx As SAPbouiCOM.Matrix = SBOapp.Forms.Item(pVal.FormUID).Items.Item("178").Specific Dim street As String = mtx.Columns.Item("2").Cells.Item("1").Specific.ToString
As the program executes the second line (street As String...), the following error comes up:
On part Cells.Item(), I have tried with 0 and pVal.Row, both don't work.
Does anyone have a clue? Really appreciate for any hints! Thanks!