IPrxFormulaIslands.Clear

Syntax

Clear;

Description

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

Example

Sub Main;

Var

MB: IMetabase;

MObj: IMetabaseObject;

Report: IPrxReport;

FormulaIs: IPrxFormulaIslands;

Begin

MB := MetabaseClass.Active;

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

Report := MObj As IPrxReport;

FormulaIs := Report.FormulaIslands;

FormulaIs.Clear;

MObj.Save;

End Sub Main;

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

See also:

IPrxFormulaIslands