on 06-20-2008 1:21 PM
hi ,
i created matrix in screen painter. it includes 3 columns unit of measurement, length, width.
i want to set values to length and width manually.
when the form is loaded the length and width should appear in matrix
Regards,
Puneeth
Hallo,
use the form_load event - here's a c# snippet:
if (pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_LOAD && pVal.FormType == insertformtype && pVal.BeforeAction = false)
{
((SAPbouiCOM.EditText)((SAPbouiCOM.Matrix)(oForm.Items.Item("mtxUID").Specific)).Columns.Item("colUID").Cells.Item(insertrow).Specific).Value = "1";
}
insertformtype = FormType of the form (like AR Invoice 133)
mtxUID = matrix itemUID
colUID = column UID
insertrow = the row you want to change the value
lg David
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
7 | |
7 | |
4 | |
4 | |
3 | |
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.