Solved

Self-Managing Reports

Posted on 1998-11-19
4
152 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses
Course of the Month2 days, 18 hours left to enroll

621 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