Hi All,
I created a form with a grid .i need to fill the grid for that ,created a table ...
My code is
oNorForm.DataSources.DBDataSources.Add("@NOR_BRAND");
SAPbouiCOM.Matrix omatrix = (SAPbouiCOM.Matrix)oNorForm.Items.Item("4").Specific;
SAPbouiCOM.Columns oColumns;
SAPbouiCOM.Column oColumn;
oColumns = omatrix.Columns;
oColumn = omatrix.Columns.Item("Code");
oColumn.DataBind.SetBound(true, "@NOR_BRAND", "Code");
oColumn = omatrix.Columns.Item("Name");
oColumn.DataBind.SetBound(true, "@NOR_BRAND", "Name");
omatrix.LoadFromDataSource();
grid is not filling....
Can anyone help me.
Regards,
Susan