Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2001-06-14
2
Medium Priority
?
360 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses

618 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