IPrxTableIslandGroupings.Count

Syntax

Count : Integer;

Description

The Count property returns the number of groups.

Example

Sub Main;

Var

MB: IMetabase;

Report : IPrxReport;

TabIs : IPrxTableIslands;

TI : IPrxTableIsland;

Grs : IPrxTableIslandGroupings;

Count : Integer;

Begin

MB := MetabaseClass.Active;

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

TabIs := Report.TableIslands;

TI := TabIs.Item(0);

Grs := TI.Groupings;

Count := Grs.Count;

Debug.WriteLine(Count);

End Sub Main;

After executing the example the console window displays the number of groups. Report - identifier of the regular report, which sheet contains a relational data area.

See also:

IPrxTableIslandGroupings