Solved

Record Count and Reset Crystal Reports 2008

Posted on 2010-09-23
3
677 Views
Last Modified: 2012-06-21
Hi Experts

I have a Crystal Report that is grouped by an ID field with details section and one ID that may have several records than span over 2 or 3 pages.  What I want to do is to Count the # of the ID's like ID 1 of 8 however if the records for the ID is more than one page I want it to display ID 1 of 8 then when the ID changes in the Group it displays ID 2 of 8.

For Example:

ID # 123  ID 1 of 8   Page 1 0f 10
ID #123 ID 1 of 8   Page 2 of 10
ID# 123 ID 1 of 8  Page 3 of 10
ID # 654 ID 2 of 8  Page 4 of 10

Is the above possible?  Any help will be greatly appreciated.

0
Comment
Question by:nobile00
3 Comments
 
LVL 12

Accepted Solution

by:
JayConverse earned 500 total points
ID: 33745299
Make a running total formula that counts the ID, then make a formula like this:

"ID " + {#my running total} + " of " + DistinctCount({ID})
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 33746642
Where do you want the notation to appear?
Group header/footer?  Page header/footer?

mlmcc
0
 

Author Closing Comment

by:nobile00
ID: 33753171
The formula worked perfectly.

Thanks for you help!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

930 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now