IPrxDataIslandCorner.Formula

Syntax

Formula: String;

Description

The Formula property determines the formula of the corner cell of the data area of the regular report.

Example

Sub Main;

Var

MB: IMetabase;

Report: IPrxReport;

DIs: IPrxDataIslands;

DI: IPrxDataIsland;

Prop: IPrxDataIslandProperties;

Corner: IPrxDataIslandCorner;

s: String;

Begin

MB := MetabaseClass.Active;

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

DIs := Report.DataIslands;

DI := DIs.Item(0);

Prop := DI.Properties;

Corner := Prop.Corner;

s := Corner.Formula;

End Sub Main;

After executing the example the "s" variable contains formula of the corner cell of the table of the first data area of the regular report. The identifier of the regular report - Report.

See also:

IPrxDataIslandCorner