Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

how to use the Quickreport?

Posted on 2001-08-01
4
Medium Priority
?
435 Views
Last Modified: 2013-11-22
I would like to ask, how to write a program to save the quickreport format after i do the preview by using the preview method (without clicking the save button inside the quickrep) in the quickreport?
 Let said ,if I save the quickreport already,I would like to ask how to select and display the list from the folder that I have already save as a   filename.QRP format.And also to preview it when I click the filename.qrp ?
0
Comment
Question by:leeboonseong
4 Comments
 
LVL 27

Accepted Solution

by:
kretzschmar earned 140 total points
ID: 6340262
the quickreport provides a method for saving

look at the savetofile-method or similar
0
 
LVL 3

Assisted Solution

by:VSF
VSF earned 140 total points
ID: 6341710
Remenber you can also save quick-reports as Text, Html, Doc, Rtf etc...

This comment was accepted as an answer by HealthMed on the link bellow! Maybe this is what you are looking for.
http://www.experts-exchange.com/jsp/qShow.jsp?ta=delphi&qid=20082585

I found this on delphi help files

How do I load a previously saved report via code?
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;
There is a bug in current release that will prevent this from printing with Delphi 1, this will be addressed in a future release.


Hope this helps!

VSF
www.enge.cjb.net
www.victory.hpg.com.br
UIN:14016999
0
 
LVL 26

Expert Comment

by:Russell Libby
ID: 8735095
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Split points between VSF and kretzschmar

Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
Thank you,
Russell

EE Cleanup Volunteer
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
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…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Loops Section Overview

916 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