Click here to Skip to main content
15,881,559 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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

Try something like:
VB
' 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.
 
Share this answer
 
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
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900