Click here to Skip to main content
Rate this: bad
good
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 vb.net.
Posted 5-Jan-13 21:45pm
Rate this: bad
good
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
   Else
      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.
  Permalink  
Rate this: bad
good
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 
  Permalink  

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



Advertise | Privacy | Mobile
Web04 | 2.8.141022.1 | Last Updated 23 Jan 2013
Copyright © CodeProject, 1999-2014
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