Load 'old' report pages

I've played a little bit with Report.Pages and wonders, how to reload previous saved report pages. If I try this - using .LoadFromFile - I got many AV's.

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 2:15AM
    i assume you are trying to reload a previously previewed report saved as an fp3 file.
    procedure TForm1.Button1Click(Sender: TObject);
    begin
    frxreport1.Clear;
    frxreport1.PreviewPages.LoadFromFile('report.fp3');
    frxreport1.ShowPreparedReport;
    end;

    ;)
  • edited 2:15AM
    I would like also to show prepared reports in the default preview window. I have tried that, and I get an access violation if I don't assign a preview component to the property frxreport1.Preview. Could you help me, please? Thank You.

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.