Solved

Self-Managing Reports

Posted on 1998-11-19
4
149 Views
Last Modified: 2012-05-04
I use QuickReport's object TQRPreview in order to give my reports a personal appearance. But I need to know how to do some things:
1) I know how to go to the next page (Method NewPage).
2) I know how to do zooms (Propertie Zoom).
3) How can I go to the first, previous and last page?
4) How can I save and load reports?

Thanks very much.
0
Comment
Question by:quique
  • 2
  • 2
4 Comments
 
LVL 8

Accepted Solution

by:
ZifNab earned 20 total points
ID: 1347319
Hi quique,

The Page is defined as the pagenumber. So:

First page : QRPreview1.PageNumber := 1;
Next page  : QRPreview1.PageNumber := QRPreview1.PageNumber + 1;
Previous  : QRPreview1.PageNumber := QRPreview1.PageNumber -1;
Last      : QRPreview1.PageNumber := QRPreview1.PageCount;

Use Zoom, ZomeToFit, ZoomToWidth to use zoom capabilities.

Zif.
0
 
LVL 1

Author Comment

by:quique
ID: 1347320
And what about saving and loading reports?
0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1347321
Oops, sorry forget this one :

use qrpreview1.qrprinter.Load();
and qrpreview1.qrprinter.save();

Just saw that they updated there download page, there is now an example available :

http://www.qusoft.no/scripts/download.dll/getfile?Filename=CUSTPREV.ZIP

Regards, Zif.

0
 
LVL 1

Author Comment

by:quique
ID: 1347322
Thanks very much!
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

Suggested Solutions

Title # Comments Views Activity
LAN or WAN ? 11 105
How to load 2 images in same column in Delphi 2 67
how to change, disabled button color FMX ? 1 48
Using MMsystem To change audio input 1 14
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

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