Skip to Content
0
Former Member
Jan 07, 2008 at 05:37 PM

Problem in DBDataSource manipulation on System form

389 Views

Hi All,

I've added a custom matrix to Production order system form, inside a new tab.

I've added all matrix columns by code and bound each column to a specific user table (DBDataSource).

The problem is: when I try to add a new row to the matrix and assign values to it trough the datasource,

the system gives an error saying: "Operation is not supported on system form".

SAPbouiCOM.Matrix oMatrix = (SAPbouiCOM.Matrix) oSysForm.Items.Item( MY_MATRIX).Specific;

oSysForm.DataSources.DBDataSources.Item("@PLINE").Clear(); <--- ERROR!

oSysForm.DataSources.DBDataSources.Item("@PLINE").SetValue( COL, 0, value ); <--- ERROR!

Is there a workaround for this problem?

How can I manipulate matrix/datasource data in a system form?

Thanks!

Manuel Dias