SIGN UP MEMBER LOGIN:    
ARTICLE

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

Posted by Mahesh Chand Articles | Crystal Reports C# 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.
Reader Level:

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.

 

Login to add your contents and source code to this article
share this article :
post comment
 

Recently i am in problem. i want to print reports in one page two records like Origanal and duplicate. Please help me

Posted by Harmeet Mar 16, 2012

Pls post your question on C# Corner forums.

Posted by Mahesh Chand Apr 06, 2009

can u pl tell me how to put a formulae on section wise. i mean i dont want my page header on report footer so how to write that...

Posted by komila sachdeva Jan 30, 2009

Hi Mahesh, Its for an Invoice Report. I am having a list of values which are directly fetched from a table. There is a column named 'Type' which will be having values 'Gas' and 'Water'. It is having another column named 'values' which will list all values. Based on the 'Type' we will be displaying 'values'. Gas values will be displayed in Gas Details section and water values will be displayed in Water Details Section Q1: My requirement is to display like this Gas heading Gas details Water heading Water details Q2: Also i need to display only if there are datas in the table. But now even though if there are no datas its displaying o.oo by default. This is the code that I have used. Ex of the code used: If Isnull({RptInvoiceSub.Type}) <> True then IF {RptInvoiceSub.Type} LIKE 'GasCharges' THEN {RptInvoiceSub.value}

Posted by Vikas Aug 20, 2007

test

Posted by waya th Jul 25, 2007
Nevron Gauge for SharePoint
Become a Sponsor
PREMIUM SPONSORS
  • Finally – a virtual platform that delivers next-generation Windows Server 2008 Hyper-V virtualization technology from a managed hosting partner you can truly depend on. Visit www.maximumasp.com/max for a FREE 30 day trial. Hurry offer ends soon. Climb aboard the MaxV platform and take advantage of High Availability, Intelligent Monitoring, Recurrent Backups, and Scalability – with no hassle or hidden fees. As a managed hosting partner focused solely on Microsoft technologies since 2000, MaximumASP is uniquely qualified to provide the superior support that our business is built on. Unparalleled expertise with Microsoft technologies lead to working directly with Microsoft as first to offer IIS 7 and SQL 2008 betas in a hosted environment; partnering in the Go Live Program for Hyper-V; and product co-launches built on WS 2008 with Hyper-V technology.
    The leading .NET charting control now features PDF, Flash and Silverlight export, visualization of large datasets and more. Deliver true charting functionality to your BI, Scorecard, Presentation or Scientific apps. Download evaluation now.
6 Months Free & No Setup Fees ASP.NET Hosting!
Become a Sponsor