on 05-15-2017 9:09 AM
multiply data of two columns for third column in Matrix in sap b1
Hi,
It can be done like this:
SAPbouiCOM.EditText oEditText1 = (SAPbouiCOM.EditText)mtx_1.Columns.Item("col_1").Cells.Item(1).Specific;
SAPbouiCOM.EditText oEditText2 = (SAPbouiCOM.EditText)mtx_1.Columns.Item("col_2").Cells.Item(1).Specific;
double value1 = Convert.ToDouble(oEditText1.Value);
double value2 = Convert.ToDouble(oEditText2.Value);
double value3 = value1*value2
SAPbouiCOM.EditText oEditTex3 = (SAPbouiCOM.EditText)mtx_1.Columns.Item("col_3").Cells.Item(1).Specific;
oEditText3.Value= value3.ToString();
Kind regards,
ANKIT CHAUHAN
SAP SME Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.