QuickReport 3.05 - How to 'load' a saved report (*.qpr)?
Posted on 2001-06-14
I am working in an application that will populate a grid with the output of a TQuery component.
The same TQuery is used as datasource for a QuickReport report. I want to save the reports (*.Qpr) files and then be able to load them when desired to the preview form.
I have got this algoritsm (assuming that 'somefile.qrp' already exists)
Procedure tForm1.Button1Click ( Sender:tObject)
With tQrHandler.Create Do
Filename := 'somefile.qrp';
// Or Pritn;
However, when I tried to compile my application, Delphi generates and error message saying that tQrHandler is an unrecognized identifier.
Any ideas how to solve this one???