Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Record Count and Reset Crystal Reports 2008

Posted on 2010-09-23
3
Medium Priority
?
689 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 2000 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 101

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

876 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