Solved

QuickReport 3.05 - How to 'load' a saved report (*.qpr)?

Posted on 2001-06-14
2
346 Views
Last Modified: 2013-11-22
Hi everybody,

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)


uses .....,qrExtra;
.
.
.

Procedure tForm1.Button1Click ( Sender:tObject)
Begin
 With tQrHandler.Create Do
 Try
   Filename := 'somefile.qrp';
   preview;
   // Or Pritn;
 finally
   Free;
 End;
End;

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???

Thanks,

Milton
0
Comment
Question by:miltonrodrigueza
2 Comments
 
LVL 17

Accepted Solution

by:
geobul earned 100 total points
ID: 6191787
Hi,
As I remember it is TQRPHandler

Regards, Geo
0
 

Author Comment

by:miltonrodrigueza
ID: 6194315
geobul, I am accepting your answer since your suggestion allow me to do exactly what I asked for.

Now I have a different issue to deal with. Would you mind to have a look to my new question titled "D5 - QR3 How to create a dynamic report?"

I would appreciated it very much if you can give me a hand with that.  One more time thatks a lot.

Milton
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question