MatrixObject add new cell
HI,i want a new cell to Matrix Report,But it's Error!
please help me ?
MatrixObject mo =(MatrixObject) Report.report.FindObject("Matrix1");
MatrixCells mcs = mo.Data.Cells;
MatrixPercent mp=new MatrixPercent();
MatrixAggregateFunction mf = new MatrixAggregateFunction();
MatrixCellDescriptor mcd = new MatrixCellDescriptor("[t_FProducts_InDetails1.cDescript]" ,mf,mp);
mcs.Add(mcd );
Report.report.Prepare(); // this line Error
Report.report.ShowPrepared();
please help me ?
MatrixObject mo =(MatrixObject) Report.report.FindObject("Matrix1");
MatrixCells mcs = mo.Data.Cells;
MatrixPercent mp=new MatrixPercent();
MatrixAggregateFunction mf = new MatrixAggregateFunction();
MatrixCellDescriptor mcd = new MatrixCellDescriptor("[t_FProducts_InDetails1.cDescript]" ,mf,mp);
mcs.Add(mcd );
Report.report.Prepare(); // this line Error
Report.report.ShowPrepared();
Comments