Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • 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!

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

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...Keep up the very good job that you and your team are doing. This site has replaced my morning cup of tea as a must have/do!!!..."

Geography

Where in the world do Tek-Tips members come from?
PandaOracle (Programmer)
10 Apr 12 10:29
In my report and from my other post...

I'm dealing with old reports that uses a bunch of groups footers and sections.

Eveything is looking great. Until the Total Page count seems to reset it's counter.(Displaying 1) I kind of need to use the Reset Page Number After for my reports. As it's seem to be the only solution that would fix my spacing problem.

So I was wondering if there is a work around for counting pages.
Helpful Member!  hilfy ( IS/IT--Management)
10 Apr 12 13:20
I don't know if this will work, but it's worth a try....

1.  I assume you have an outer group that determines where the page number gets set.  Create a formula that is a combination of the field for the outer group and the page number.  Assuming the group field is a string, it would look something like this:

{group field} + ToText(pagenumber, 0,'')

2.  Create a running total that does a count of this formula, evaluate on change of the formula, reset never.  This should give you the total number of pages that have processed so far at any point in the report.  At the end of the report it will have the total number of pages in the report.

-Dell

A computer only does what you actually told it to do - not what you thought you told it to do.

PandaOracle (Programmer)
10 Apr 12 17:23
Ah thanks.

i had to wrap it around in a group.

then i just used your idea.

but you have to use a dummy field for {group field} + ToText(pagenumber, 0,'') or else you can't create a running total.

thanks a lot.

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!

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