on 10-06-2005 8:48 AM
Hello
Does anyone have a sample on how to retrieve values from a column of a row in the matrix.I tried using the following code but it does not work:
sItemCode = oMatrix.Columns.Item(1).Cells.Item(oMatrix.RowCount).Specific
Thanks John
Hello,
try this
Dim dsa_EditText As SAPbouiCOM.EditText
dsa_EditText = oMatrix.Columns.Item(ColumnName).Cells.Item(RowNumber).Specific()
Return dsa_EditText.Value
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In that case, you should use the userdatasource (if the column is linked to a userdatasource) or the dbdatasource
userdatasource :
oMatrix.GetLineData(RowNumber)
sItemCode = oForm.DataSources.UserDataSources.Item("Name").ValuEx
DbdataSource
sItemCode = oForm.DataSources.DbDatasource.Item("TableName").GetValue("fieldname", RowNumber)
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.