Formula: String;
The Formula property determines a formula of the formula area.
Sub Main;
Var
MB: IMetabase;
Report: IPrxReport;
FormulaIs: IPrxFormulaIslands;
Formula: IPrxFormulaIsland;
s: String;
Begin
MB := MetabaseClass.Active;
Report := MB.ItemById("Report").Bind As IPrxReport;
FormulaIs := Report.FormulaIslands;
Formula := FormulaIs.Item(0);
s := Formula.Formula;
End Sub Main;
After executing the example the "s" variable contains formula of the first formula area. The identifier of the regular report - Report.
See also: