Search code examples
c#fastreport

Fast report does not print


I have a problem. I use this code :

 Report report = new Report();
 report.Load("sample.fpx");

 report.Print();`

I see the print dialog, click "Print", but no document will be printed? What's the problem?


Solution

  • Use

    report.LoadPrepared("sample.fpx"); //load prepared report
    

    Load method is for templates.