Save;
Save();
The Save method saves changes made in the data area.
The method is relevant after data area is opened for edit by the IPrxDataIsland.Edit method.
Executing the example requires a regular report with the REPORT identifier, which contains data area. Add links to the Metabase, Report system assemblies.
Sub Main;
Var
MB: IMetabase;
MObj: IMetabaseObject;
Report: IPrxReport;
DIs: IPrxDataIslands;
DI: IPrxDataIsland;
Begin
MB := MetabaseClass.Active;
MObj := MB.ItemById("Report").Edit;
Report := MObj As IPrxReport;
DIs := Report.DataIslands;
DI := DIs.Item(0).Edit;
DI.OutputPart := PrxDataIslandPart.DataOnly;
DI.OutputRange := "A0:D50";
DI.Save;
MObj.Save;
End Sub Main;
After executing the example data area layout parameters are changed without saving the regular report. Regular report identifier - "Report".
See also: