Skip to Content
0
Former Member
Oct 24, 2005 at 08:44 AM

Cannot add matrix

35 Views

Dear all,

Under the form load event, i have generated some code to create a matrix, however I got the following error message: "System.Runtime.interopServices.COMException (0xFFFFE49C): Item already exists at SAPbouiCOM.itemClass.Add(String UID, BoFormItemTypes Type) at....." I have used some debugging trick to nail down the problematic code, which is : oitem = oForm.Items.Add("Matrix1", SAPbouiCOM.BoFormItemTypes.it_MATRIX)

I don't have this code any where else so I dont' know why it says the item already exist...

Any help from you all is much appreciated.