IUiPrxExportCancelEventArgs.Format

Syntax

Format: IExportFormat;

Description

The Format property returns the format, into which the report is exported.

Example

Sub EventOnBeforeExportReport(Args: IUiPrxExportCancelEventArgs);

Begin

Args.Cancel := Not WinApplication.ConfirmationBox("Report " + Args.Report.MetabaseObject.Id + " exported to format " + Args.Format.FilterString + " ?");

End Sub EventOnBeforeExportReport;

When the event occurs, a dialog box to confirm exporting the report into the specified format is displayed. The message contains identifier of the report and the format, into which it is exported. Answer Yes to export the report or No to cancel export.

See also:

IUiPrxExportCancelEventArgs