Skip to Content

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


objmatrix.Columns.Item("1").Cells.Item(1).Specific.value = ""

what does it mean?


objmatrix.Columns.Item("1").Cells.Item(1).Specific is what is used to expose the methods of the specific type of cell.

so if it is an edittext you can use:

Dim test As string =  objmatrix.Columns.Item("1").Cells.Item(1).Specific.Value

or a combobox

Dim test As string = objmatrix.Columns.Item("1").Cells.Item(1).Specific.Selected.Value

or a checkbox

Dim test As Boolean = objmatrix.Columns.Item("1").Cells.Item(1).Specific.Checked

I personally do not like using the code like this and prefer to cast

Dim test As string = CType(objmatrix.Columns.Item("1").Cells.Item(1).Specific, SAPbouiCOM.EditText).Value

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