Print from fr3 file

edited 2:20PM in FastReport 3.0
Hello. I'm having troubles to print a report from a fr3 file (fr3.18). I use the next code:

  if Dialog.Execute then
  begin
       with MyReport do
       begin
               LoadFromFile(Dialog.Filename);
               ShowReport;
       end; 
  end;

It always returns the next error: "Class not found preparedreport"
I've tried with ShowPreparedReport, LoadPreparedReport, PrepareReport , and all mix. I always get the same error code.
How can I print a saved report file fr3?

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.