[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

QuickReport

Posted on 2000-01-13
5
Medium Priority
?
1,014 Views
Last Modified: 2013-11-22
Hello,
How can I load a file (*.qrp) where I open a QuickReport ?
Thanks
       Gaëlle
0
Comment
Question by:gaelle
  • 3
  • 2
5 Comments
 
LVL 2

Accepted Solution

by:
florisb earned 150 total points
ID: 2348749
unstructured shitty qrep help, remember it was there:

Q:

How do I load a previously saved report via code?

A:

We have a new class, TQRPHandler, that is defined and documented in the QRBonus unit.  This class is designed to easily allow you load a saved report using the following syntax:

  with TQRPHandler.Create do
  try
    Filename := 'somefile.QRP';
    Preview; {or}
    print;
  finally
    Free;
  end;

hope this helps,
Floris.
0
 

Author Comment

by:gaelle
ID: 2348787
I don't find new class: TQRPHandler.
Gaëlle
0
 
LVL 2

Expert Comment

by:florisb
ID: 2348868
Found it on quick rep pages:
- Registered users will find a new class in the Qrbonus unit. TQRPHandler is a simple class that
takes the hassle out of previewing and printing reports saved to .QRP file

So my answer is: get the update. perhaps someone else has an alternative....?

TZRPHandler 'takes the hassle'; so there's another way; with hassle...:-)

Check:
http://www.qusoft.com/
0
 

Author Comment

by:gaelle
ID: 2349625
Floris,
I find unit QrBonus.pas but when Ii use TQRPHandler, Delphi can't recognize this. Do you know why ?
Gaëlle.
0
 
LVL 2

Expert Comment

by:florisb
ID: 2349711
i have no idea, I answered your question checking the help (Okee, I do have some experience using qreport).

Is it a unit you have to put in your uses list, or is it something to add components? Try Component | Install component and then the pas file.

Floris.
0

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

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…
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…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Stellar Phoenix SQL Database Repair software easily fixes the suspect mode issue of SQL Server database. It is a simple process to bring the database from suspect mode to normal mode. Check out the video and fix the SQL database suspect mode problem.
Suggested Courses

612 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