Solved

how to use the Quickreport?

Posted on 2001-08-01
4
412 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

772 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

10 Experts available now in Live!

Get 1:1 Help Now