IPrxReport.RecalcC

Syntax

RecalcC: ([Context:IPrxReportRecalcContext=Null]);

Parameters

Context. The object, in which report calculation settings are determined.

Description

The RecalcC method calculates report in accordance with the specified parameters.

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;
    Begin
        MB := MetabaseClass.Active;
        MObj := MB.ItemById("PRX_REPORT").Edit;
        Report := MObj As IPrxReport;
        UiReport1.Instance := report;
        Context := Report.BeginRecalc;
        Context.RecalcDataIsland(Report.DataIslands.Item(1)) := TriState.OnOption;
        Report.RecalcC(Context);
    End Sub Button1OnClick;

After executing the example the platform calculates report with the specified settings.

See also:

IPrxReport