Solved

Record Count and Reset Crystal Reports 2008

Posted on 2010-09-23
3
678 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

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 …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

803 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