IPrxSheet.ProtectFromGlobalRecalc

Syntax

ProtectFromGlobalRecalc: Boolean;

Description

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

Example

Sub Main;

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 Main;

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