Solved

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

Posted on 2001-06-14
2
339 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
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 Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

920 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now