IPrxDataIslands.Clear

Syntax

Clear;

Description

The Clear method deletes all data areas of the regular report.

Example

Sub Main;

Var

MB: IMetabase;

MObj: IMetabaseObject;

Report: IPrxReport;

DIs: IPrxDataIslands;

Begin

MB := MetabaseClass.Active;

MObj := MB.ItemById("Report").Edit;

Report := MObj As IPrxReport;

DIs := Report.DataIslands;

DIs.Clear;

MObj.Save;

End Sub Main;

After executing the example all data areas of the regular report are deleted. The identifier of the regular report - Report.

See also:

IPrxDataIslands