?
Solved

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

Posted on 2001-06-14
2
Medium Priority
?
353 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 17

Accepted Solution

by:
geobul earned 400 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month12 days, 16 hours left to enroll

777 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