Show contents 

Report > Report Assembly Interfaces > IPrxSheet > IPrxSheet.ProtectFromGlobalRecalc

IPrxSheet.ProtectFromGlobalRecalc

Syntax

ProtectFromGlobalRecalc: Boolean;

Description

The ProtectFromGlobalRecalc property determines the Do Not Calculate on Report Calculation option.

Example

Sub UserProc;
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Report: IPrxReport;
    Sheet: IPrxSheet;
Begin
    MB := MetabaseClass.Active;
    MObj := MB.ItemById("REPORT").Edit;
    Report := MObj As IPrxReport;
    Sheet := Report.ActiveSheet;
    Sheet.ProtectFromGlobalRecalc := True;
    MObj.Save;
End Sub UserProc;

After executing the example the Do Not Calculate on Report Calculation option is enabled for the active sheet of the regular report. The identifier of the regular report - Report.

See also:

IPrxSheet