Solved

Quickreport Page Header only first page

Posted on 2011-03-03
4
1,597 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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

735 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