IPrxReportOptions.NoRecalcOnOpen

Syntax

NoRecalcOnOpen: Boolean;

Description

The NoRecalcOnOpen property determines state of the Do not Calculate Report on Opening option.

Comments

The NoRecalcOnOpen property is ignored if value was set in the IMetabaseObjectParamValuesEx.StateOptions property:

Example

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

Add links to the Metabase, Report system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    MOBj: IMetabaseObject;
    Report: IPrxReport;
    Options: IPrxReportOptions;
Begin
    MB := MetabaseClass.Active;
    MOBj := MB.ItemById("REGULAR_REPORT").Edit;
    Report := MOBj As IPrxReport;
    Options := Report.Options;
    Options.NoRecalcOnOpen := True;
    MOBj.Save;
End Sub UserProc;

After executing the example the Do not Calculate Report on Opening checkbox is selected for a regular report sheet located in the Report Parameters dialog box on the Settings tab.

See also:

IPrxReportOptions