IPrxDataIsland.Save

Syntax

Save;

Description

The Save method saves changes made in the data area.

Comments

The method is relevant after data area is opened for edit by the IPrxDataIsland.Edit method.

Example

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 position parameters are changed and saved without saving the regular report. The identifier of the regular report - Report.

See also:

IPrxDataIsland