Solved

how to use the Quickreport?

Posted on 2001-08-01
4
426 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 35 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 35 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: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

685 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