Hello experts,
I have a very simple and annoying problem , I created a form with a Matrix filled with ItemNames when the user double click a row it copy the ItemName to the matrix of the sales order , here SAP crushes It doesn't happen every time but occasionnaly and the users are always complaining about it .
here is the code it's very basic
try {
if (pVal.Row <= 0) return;
String ItemName = ((SAPbouiCOM.EditText)Matrix2.GetCellSpecific("Col_0", pVal.Row)).Value;
oMainForm = Application.SBO_Application.Forms.Item(MainFormUID);
Matrix = (SAPbouiCOM.Matrix)oMainForm.Items.Item("38").Specific;
SAPbouiCOM.EditText ed = (SAPbouiCOM.EditText)Matrix.GetCellSpecific("3", this.Row);
ed.Value = ItemName;
oForm.Close();
} catch (Exception Ex)
{
Application.SBO_Application.MessageBox(Ex.Message);
}
Please help
Best regards