IEaxAnalyzerOptions.IgnoreDirtyOnClose

Syntax

IgnoreDirtyOnClose: Boolean;

Description

The IgnoreDirtyOnClose property determines status of the Do not Ask Confirmation on Closing Modified Report option.

Comments

If this option is enabled, all unsaved changes are cancelled.

Example

Executing the example requires that the repository contains an express report with the EXPRESS_REPORT identifier.

Add links to the Metabase and Express system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Expr: IEaxAnalyzer;
    Opt: IEaxAnalyzerOptions;
Begin
    MB := MetabaseClass.Active;
    MObj := MB.ItemById(
"EXPRESS_REPORT").Edit;
    Expr := MObj 
As IEaxAnalyzer;
    Opt := Expr.Options;
    Opt.IgnoreDirtyOnClose := 
True;
    MObj.Save;
End Sub UserProc;

After executing the example the Do not Ask Confirmation on Closing Modified Report option is enabled.

See also:

IEaxAnalyzerOptions