IPrxDataIslands.Count

Syntax

Count: Integer;

Description

The Count property returns the number of data areas of the regular report.

Example

Sub Main;

Var

MB: IMetabase;

Report: IPrxReport;

DIs: IPrxDataIslands;

DI: IPrxDataIsland;

i: Integer;

Begin

MB := MetabaseClass.Active;

Report := MB.ItemById("Report").Bind As IPrxReport;

DIs := Report.DataIslands;

DI := DIs.Item(0);

i := DI.Count;

End Sub Main;

After executing the example the "i" variable contains the number of data areas in the regular report. The identifier of the regular report - Report.

See also:

IPrxDataIslands