Solved

Quickreport Page Header only first page

Posted on 2011-03-03
4
1,622 Views
Last Modified: 2013-11-22
Hi,

with the QuickReport I want to print the rbPageHeader BandType only in the first page. There is the Option FirstPageHeader but:
- FirstPageHeader:=True -> every page have the Header
- FirstPageHeader:=False -> every page have the Header but not the first page!

I want the header only in the first page.

I use QuickReport 4.05 and Delphi 7.

Thanks in advice.
0
Comment
Question by:Seldon_
[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
4 Comments
 
LVL 19

Accepted Solution

by:
Thommy earned 125 total points
ID: 35031600
Use title band to print a header only on the first page...

Following text part is from http://www.oocities.org/ikhet0/resources/QuickReport3.doc:

A title band is the first band printed to a report (after the very first page header, if any).
It’s useful for printing the report title, data selection criteria, creation date and time and so on.
0
 
LVL 19

Expert Comment

by:Thommy
ID: 35031652
For a title band in Delphi you have to use TQRBand / rbTitle
0
 
LVL 6

Expert Comment

by:bokist
ID: 35031900
One of possible solutions - using page header OnBeforePrint event :

procedure TMyForm.PageHeader_band_nameBeforePrint(Sender: TQRCustomBand; var PrintBand: Boolean);
begin
   PrintBand := Quickrep1.PageNumber = 1;
end;
0
 

Author Closing Comment

by:Seldon_
ID: 35031957
Thanks!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

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…
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

732 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