Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Crystal Reports Page Header Problem

Crystal Reports Page Header Problem

Scheduled Pinned Locked Moved C#
help
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Muneeb Abdul Shakoor
    wrote on last edited by
    #1

    Hi! I have a report which has report header, Page header, details and report footer. The problem is that Page header is appearing on every page even if there is no details data remaining i.e. only report footer is there

    F 1 Reply Last reply
    0
    • M Muneeb Abdul Shakoor

      Hi! I have a report which has report header, Page header, details and report footer. The problem is that Page header is appearing on every page even if there is no details data remaining i.e. only report footer is there

      F Offline
      F Offline
      FunkySteve
      wrote on last edited by
      #2

      Create a boolean formula. Set formula based on number of detail records. 0 recs = true, 1 or more recs = false. Use formula in suppress option under page header (section). Possibly do the same for footer, and detail as well if you want to completely eliminate blank page.

      M 1 Reply Last reply
      0
      • F FunkySteve

        Create a boolean formula. Set formula based on number of detail records. 0 recs = true, 1 or more recs = false. Use formula in suppress option under page header (section). Possibly do the same for footer, and detail as well if you want to completely eliminate blank page.

        M Offline
        M Offline
        Muneeb Abdul Shakoor
        wrote on last edited by
        #3

        Thanks! The code, if PageNumber = TotalPageCount then true else false worked on the suppress event of the page header I haven't worked on crystal reports a great deal so I was thinking that there might be some issues in my report design but after your reply, googling made me know that one has to do this manually through code :)

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups