Total Record count displayed in detail section

Posted on 2001-07-18
Last Modified: 2012-06-27
Is Crystal Reports capable of calculate the total records for the report and display that total on each record?   Let me know if I have to go into further detail....
Question by:caryma
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2

Expert Comment

ID: 6295649
What do you mean by "that total on each record"?

Author Comment

ID: 6295819
Lets say for my report that there are 23 records.  Well on each record I want a field that has 23 in it.

For example: (for three record)

Field1, Field2, Field3, 3, Field4
Field1, Field2, Field3, 3, Field4
Field1, Field2, Field3, 3, Field4

Accepted Solution

YodaMage earned 15 total points
ID: 6296022
Either type to insert special field type record count in your detail line, which may not work, or build the report twice, using the first run which is suppressed to get your record count, then a subreport to actually print the data with the record count being established as a parameter in the initial run.

Author Comment

ID: 6299642
Thank you it worked perfect.


Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying 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

Suggested Solutions

Title # Comments Views Activity
Exclude some records from totals 10 71
Unable to total correct amount due to line duplication 5 43
Crystal Reports 2013 25 78
Sum not calculating correctly 22 62
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 …
In a recent question ( here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Suggested Courses

751 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