Help With FastReports in Delphi 5
So I'm looking at using FastReports to replace Crystal Reports. We are doing that so we can upgrade from delphi 5 to XE2.
Ive created a report in the report designer and when i preview the report everything is fine. but when i try to call the report from delphi the previewer loads but there are zero pages in it. I have no clue what I'm doing wrong at this point and am tired of hitting my head on the wall. Any help would be greatly appreciated.
Ive created a report in the report designer and when i preview the report everything is fine. but when i try to call the report from delphi the previewer loads but there are zero pages in it. I have no clue what I'm doing wrong at this point and am tired of hitting my head on the wall. Any help would be greatly appreciated.
if fileexists(dmposting.tws_drive+'\tws\FastReports\FRInvoice.fr3') then
        ReportName := dmposting.tws_drive+'\FastReports\FRInvoice.fr3'
      else
        exit;
      //Load Report
      begin
          tfrxreport.LoadFromFile(ReportName);
          if frxReport1.Preparereport then
          frxReport1.ShowpreparedReport;
      end;
Comments