Home
Crystal Reports Training
Crystal Reports XI
Crystal Reports .NET
Crystal Reports Forum
News
Tech Support
Active Topics
Memberlist
Search
Help
Register
Login
New feature request
Crystal Reports Forum
:
General Information
:
New feature request
Topic: Totab page number
Oldest Post First
Newest Post First
Author
Message
Ashraf
Newbie
Joined: 11 Oct 2011
Location: United States
Online Status: Offline
Posts: 4
Topic: Totab page number
Posted: 11 Oct 2011 at 6:27pm
hi all,
Now I have a variable to count pages
//----------------------------
WhilePrintingRecords;
NumberVar counter;
counter:=counter+1
//----------------------------
I need a variable to get Total page number
Thank you
Ash_Khl
IP Logged
sgtjim
Newbie
Joined: 23 Aug 2011
Online Status: Offline
Posts: 32
Posted: 12 Oct 2011 at 8:29am
If your formula is counting correctly, then you just need a display formula in the report footer section.
Something like this.
WhilePrintingRecords;
Shared NumberVar displaycount;
displaycount := counter
You will also need to add the word Shared before NumberVar so you can use the variable outside of the formula. Like this:
Shared NumberVar count;
IP Logged
Ashraf
Newbie
Joined: 11 Oct 2011
Location: United States
Online Status: Offline
Posts: 4
Posted: 17 Oct 2011 at 1:34am
Ok .. but I need it in every page as pagenumber of Totalpagecount
thanks
Ash_Khl
IP Logged
DMD45
Newbie
Joined: 28 Jul 2014
Location: United States
Online Status: Offline
Posts: 5
Posted: 29 Jul 2014 at 8:32am
In the field explorer under 'Special Fields' there is a 'Page N of M' field that does what you want.
Dianne
IP Logged
Printable version
Forum Jump
-- Select Forum --
Announcements
Talk with the Author
Self-Publishing
Job Postings
New feature request
Report Design
Data Connectivity
Technical Questions
Tips and Tricks
Crystal Xcelsius
Report Design
Data Connectivity
Writing Code
Tips and Tricks
Report Design
Data Connectivity
Writing Code
Tips and Tricks
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.047 seconds.
HOME
|
FREE EBOOK
|
PROGRAMMING GUIDE
|
PURCHASE
|
REVIEWS
|
CONTACT ME
|
FAQ
|
LINKS
|
CLICK PLAYS
|
COACH FORUMS
|
TROPICAL FISH
© 2004-2024 Brian Bischof. All Rights Reserved.