IPrxReportRecalcContext.RecalcTableIsland

Syntax

RecalcTableIsland(TableIsland: IPrxTableIsland): TriState;

Parameters

TableIsland - relational data area, which parameters should be determined.

Description

The RecalcTableIsland property determines whether the relational data area is to be calculated.

Example

Executing the example requires a regular report with the PRX_REPORT identifier.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Report: IPrxReport;
    Context: IPrxReportRecalcContext;
    TableIsland: IPrxTableIsland;
Begin
    MB := MetabaseClass.Active;
    MObj := MB.ItemById("PRX_REPORT").Edit;
    Report := MObj As IPrxReport;
    Context := Report.CreateRecalcContext;
    Context.Clear;
    TableIsland := Report.TableIslands.Item(0);
    Context.RecalcTableIsland(TableIsland) := TriState.OnOption;
    Report.RecalcC(Context);
    MObj.Save;
End Sub Button1OnClick;

After executing the example the specified relational data area is calculated.

See also:

IPrxReportRecalcContext