SaveToFile(FileName: String; Mode: PrxReportSaveMode);
FileName - file path and name.
Mode - saving mode.
The SaveToFile method saves the regular report to a file.
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: