Clear;
The Clear method deletes all relational areas of a regular report.
Sub Main;
Var
MB: IMetabase;
MObj : IMetabaseObject;
Report : IPrxReport;
TabIs : IPrxTableIslands;
Begin
MB := MetabaseClass.Active;
MObj := MB.ItemById("Report").Edit;
Report := MObj As IPrxReport;
TabIs := Report.TableIslands;
TabIs.Clear;
MObj.Save;
End Sub Main;
After executing the example all relational areas of the regular report are deleted. Report - identifier of a regular report.
See also: