IPrxReport.SaveToFile

Syntax

SaveToFile(FileName: String; Mode: PrxReportSaveMode);

Parameters

FileName - file path and name.

Mode - saving mode.

Description

The SaveToFile method saves the regular report to a file.

Example

Sub Main;
Var
    MB: IMetabase;
    Report: IPrxReport;
Begin
    MB := MetabaseClass.Active;
    Report := MB.ItemById("Report").Bind As IPrxReport;
    Report.SaveToFile("c:\Report.ppreport", PrxReportSaveMode.Full);
End Sub Main;

After executing the example the regular report with the Report identifier is saved to the Report.ppreport file.

See also:

IPrxReport