Reader Level:
Articles

Tip: How to use Multiple Page Headers in Crystal Reports?

By Mahesh Chand on July 21, 2006
Recently, I came across a problem in Crystal Reports. I wanted to display a separate page header on the first page of the report than the rest of the page.
  • 0
  • 0
  • 43121

Recently, I came across a problem in Crystal Reports. I wanted to display a separate page header on the first page of the report than the rest of the page. On first page of the report, I wanted to display a big company logo with some instructions on it and on rest of the pages; I wanted to display a small company logo.

 

You can achieve this by adding two page headers sections to the report and adding a formula for suppressing the section. I created two page header sections and formatted them the way I wanted on my first page and rest of the pages. The idea is you want to suppress the second header on the first page and suppress first header on the rest of the pages.  

To do so, you create a formula (see X-2) for Suppress option. The formula is: PageNumber<>1. For rest of the pages, you create formula PageNumber = 1.

That's all.

 

Mahesh Chand

Mahesh Chand is founder of C# Corner. C# Corner founded in 1999 is a FREE member contributions based open platform for developers to solve problems, learn new technology and hang out.  Mahesh has been awar... Read more

COMMENT USING

Trending up