Report Design
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Report Design
Message Icon Topic: How to delete the last page in Crystal report? Post Reply Post New Topic
Author Message
pva1958
Newbie
Newbie


Joined: 17 Jan 2018
Location: United States
Online Status: Offline
Posts: 3
Quote pva1958 Replybullet Topic: How to delete the last page in Crystal report?
    Posted: 24 Jan 2018 at 5:40am
Hello,

I cannot figure out how to get rid of the last page in the Crystal report, whether in the report itself or in C# code behind it.

I know how to delete the last blank page if the report has grouping and use "Not OnLastRecord". But this is not my case, I don't have grouping, and I need to delete the last page regardless whether it's blank or not. I also know how to suppress the header on the last page and use "PageNumber=TotalPageCount", but this doesn't delete the page.

I would appreciate any help. Thank you.
IP IP Logged
kevlray
Admin Group
Admin Group
Avatar

Joined: 29 Oct 2009
Online Status: Offline
Posts: 1587
Quote kevlray Replybullet Posted: 24 Jan 2018 at 9:23am
Never had to suppress the last page always.  But you would have to probably put the suppression formula in a number of places (page header, Details, page footer, report footer)
IP IP Logged
pva1958
Newbie
Newbie


Joined: 17 Jan 2018
Location: United States
Online Status: Offline
Posts: 3
Quote pva1958 Replybullet Posted: 24 Jan 2018 at 9:41am
Thank you. Tried this, didn't work.
IP IP Logged
kevlray
Admin Group
Admin Group
Avatar

Joined: 29 Oct 2009
Online Status: Offline
Posts: 1587
Quote kevlray Replybullet Posted: 25 Jan 2018 at 6:53am
I would have to do some testing.  Unfortunately I have little spare time now.  Hopefully another forum member has a solution.
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.017 seconds.