Solved

how to use the Quickreport?

Posted on 2001-08-01
4
416 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

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

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…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

867 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

19 Experts available now in Live!

Get 1:1 Help Now