IPrxReportOptions.IgnoreDirtyOnClose

Syntax

IgnoreDirtyOnClose: Boolean;

Description

The IgnoreDirtyOnClose property determines the Do Not Ask For Confirmation When Closing Changed Report Copy option.

Example

Executing the example requires that the repository contains a regular report with the Report identifier. Add links to the Metabase and Report system assemblies.

Sub Main;

Var

MB: IMetabase;

MOBj: IMetabaseObject;

Report: IPrxReport;

Options: IPrxReportOptions;

Begin

MB := MetabaseClass.Active;

MOBj := MB.ItemById("Report").Edit;

Report := MOBj As IPrxReport;

Options := Report.Options;

Options.IgnoreDirtyOnClose := True;

MOBj.Save;

End Sub Main;

After executing the example the Do Not Ask Confirmation When Closing Changed Report Copy option is enabled for an active sheet of regular report with the Report identifier (the Report Parameters dialog box, the Settings tab).

See also:

IPrxReportOptions