Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Page Numbering and Last page

Page Numbering and Last page

Page Numbering and Last page


I have a report that I have several Sales Numbers.

I have managed to get the report to count each new journey number in the group as a new page by using the reset page number after in the section expert for that group.

However in the report footer I have a text box for signatures. The last journey number counts this as a page so I get 1 of 2 and 2 of 2 for the last Journey number, where in fact it is just 1.

How can I get it not to count the last page and maybe have something called signature page instead of page number.

In the page header of the last page it is also showing the Journey Number so I also want it to supress this filed if it is the last page.

Any ideas please.


RE: Page Numbering and Last page

One idea is to reset the page number on the last page. Go to the section expert, Paging tab (Crystal Reports 2016), Reset Page Number After. Here is the tricky part. Not sure what to put in the formula (I have some ideas, but not tested). Which could affect the second request. Depending on how the report is structured. I sometimes can get away with suppressing an object when OnLastRecord is true. The other way (referring back to what I stated before) is to check if the PageNumber = TotalPageCount.

RE: Page Numbering and Last page

First, make sure you have "new page after" on the journey group, so the report footer is on its own page.

Then create two formulas:

//{@true} to be placed in the report header and suppressed:
booleanvar x := true;

//{@false} to be placed in the report footer and suppressed:
booleanvar x := false;

The format both the page header section (section suppression) and the pagenumber (using field suppression) in the pagefooter with this formula:

booleanvar x;
x = false; //note no colon


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close