TfrxPreview

edited 2:12PM 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 2:12PM
    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