Skip to Content
0
Former Member
Jan 24, 2007 at 11:40 AM

Has anyone retrieved a value from a system Matrix from selecting the row

15 Views

Hi everyone, I am trying to retrieve the value of a cell from the first column of a matrix depending on which row the user has highlighted. I can access the value from specifying which row to retrieve the value from but not from the user selecting which row. Im attempting do do this from the open items list system form which is accessed from the reports menu.

To retrieve the value from the first row my code is as follows:

oMatrix = oForm.Items.Item("5").Specific

DocNo = oMatrix.Columns.Item("1").Cells.Item(1).Specific.Value

SBO_Application.MessageBox(DocNo)

How do I change this code to access the value of the cell depending on which row is highlighted?

Any help would be appreciated 😊