IPrxTableIsland.Sheet

Syntax

Sheet : IPrxSheet;

Description

The Sheet property determines the sheet of the regular report that contains the data area.

Example

Sub Main;

Var

MB: IMetabase;

MObj : IMetabaseObject;

Report : IPrxReport;

TabIs : IPrxTableIslands;

TI : IPrxTableIsland;

Begin

MB := MetabaseClass.Active;

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

Report := MObj As IPrxReport;

TabIs := Report.TableIslands;

TI := TabIs.Item(0);

TI := TI.Edit;

TI.Sheet := Report.Sheets.Item(1);

TI.Save;

MObj.Save;

End Sub Main;

After executing the example the sheet, where the data area is located, is changed. Report - identifier of a regular report.

See also:

IPrxTableIsland