TfrxPreview

edited 4:26AM in FastReport 3.0
<span style='color:red'>THIS THROWS AN EXCEPTION</span>
frxPreview1->LoadFromFile(FileName);

THIS DOES NOT
frxReport1->LoadFromFile(FileName);
frxReport1->ShowReport();

Went through and looked at the Delphi source and couldn't see any thing that I needed to do so I must of overlooked something in the documentation. Can anybody point me in the right direction?

Thanks,
Wayne

Comments

  • edited 4:26AM
    Nevermind. TfrxPreview is not meant to be a standalone component but must be attached to a TfrxReport. Sorry I'm new to FastReports but I'm liking this tool far better than Quick Report, Rave or ;) Crystal ;) .

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.