PrepareReport
hi,
I seem to be having problems with the TfrxReport.PrepareReport method. I want to build a report from smaller reports, which are stored on disk. I have the following code...
procedure ExecuteReports;
begin
Marineprop_Report.LoadFromFile(FPath + 'rpt_VesselProperties.fr3');
Marineprop_Report.PrepareReport;
Marineprop_Report.LoadFromFile(FPath + 'rpt_ResistanceCalculations.fr3');
Marineprop_Report.PrepareReport(False);
Marineprop_Report.LoadFromFile(FPath + 'rpt_PropellerCalculations.fr3');
Marineprop_Report.PrepareReport(False);
Marineprop_Report.LoadFromFile(FPath + 'rpt_Chart1.fr3');
Marineprop_Report.PrepareReport(False);
Marineprop_Report.LoadFromFile(FPath + 'rpt_Chart2.fr3');
Marineprop_Report.PrepareReport(False);
Marineprop_Report.ShowPreparedReport;
end;
when I execute this block of code, the only report in the preview window is rpt_Chart2.
why are the other reports being ignored?
TIA,
Arthur
I seem to be having problems with the TfrxReport.PrepareReport method. I want to build a report from smaller reports, which are stored on disk. I have the following code...
procedure ExecuteReports;
begin
Marineprop_Report.LoadFromFile(FPath + 'rpt_VesselProperties.fr3');
Marineprop_Report.PrepareReport;
Marineprop_Report.LoadFromFile(FPath + 'rpt_ResistanceCalculations.fr3');
Marineprop_Report.PrepareReport(False);
Marineprop_Report.LoadFromFile(FPath + 'rpt_PropellerCalculations.fr3');
Marineprop_Report.PrepareReport(False);
Marineprop_Report.LoadFromFile(FPath + 'rpt_Chart1.fr3');
Marineprop_Report.PrepareReport(False);
Marineprop_Report.LoadFromFile(FPath + 'rpt_Chart2.fr3');
Marineprop_Report.PrepareReport(False);
Marineprop_Report.ShowPreparedReport;
end;
when I execute this block of code, the only report in the preview window is rpt_Chart2.
why are the other reports being ignored?
TIA,
Arthur