Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Matrix problem

I wrote a simple Matrix with only 1 row for testing,

here is the code:

oColumn = oColumns.Add("CardCode", SAPbouiCOM.BoFormItemTypes.it_EDIT)

oColumn.TitleObject.Caption = "Vendor"

oColumn.Width = 80

oColumn = oColumns.Add("CardName", SAPbouiCOM.BoFormItemTypes.it_EDIT)

oColumn.TitleObject.Caption = "Name"

oColumn.Width = 100

oMatrix.AddRow(1)

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

oMatrix.Columns.Item("CardName").Cells.Item(1).Specific.value = "BBBBBBBBBB"

The matrix frame is displayed fine, but the content "AAAAAAAAA" and "BBBBBBBBBB" can't be displayed.

Thanks

Not what you were looking for? View more on this topic or Ask a question