Skip to Content
0
Former Member
Jan 03, 2008 at 04:17 PM

Matrix Loading Error

25 Views

Hi,

I'm currently loading and inserting a new row blank matrix using C#. With the following,

oDBDataSource = oCurrentForm.DataSources.DBDataSources.Item("@tb_QSCORE"); // table name

oMatrix = (SAPbouiCOM.Matrix)oCurrentForm.Items.Item(p_ItemUID).Specific;

if (oMatrix.RowCount == 0) oDBDataSource.Clear();// oMatrix.Clear();

oDBDataSource.InsertRecord(0);

I'm currently being thrown with exception error during clear or either insertrecord.

This works on some program which has master and detail records. I dont understand why it is throwing exception error: {"The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))"}