Preview report problem

why cant' I preview the report when storeInDfm set to False.


I'm using Delphi 7 and Fast Report 2.53 with the following code:-
frReport1.ShowReport

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 9:39PM
    When store in dfm is false you are saving the report's design definition to a .frf file
    to show it you must use the loadfromfile method before calling show report.
    ie
    frreport1.loadfromfile('fullpathandreportname.frf');
    frreport1.showreport;
    ;)
  • edited 9:39PM
    thank you.

Leave a Comment