Crystal Reports Page Header Problem
-
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
-
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
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.
-
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.
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 :)