Click here to Skip to main content
12,818,489 members (32,073 online)
Rate this:
Please Sign up or sign in to vote.
i want to do the page header of the crystal report, which is i don't want at the last page. means page header not shown at the last page in the crystal report with using
Posted 5-Jan-13 22:45pm
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Try something like:
' for Header
Private Sub rptPageHeader_Format(ByVal pFormattingInfo As Object)
   If PageNum.Value = TotalPageCount Then
      rptPageHeader.Suppress = True
      rptPageHeader.Suppress = False
   End If
End Sub

Logic is to set a code to supress header if the current page number if equal to total page count.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

first go to the section expert.
then select the particular section which you want to not show.
then click on button near by suppress, then enter in that

if pagenumber = TotalPageCount then true

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170308.1 | Last Updated 23 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100