Solved

Display 17 detail records in a group on each page - Crystal Reports

Posted on 2009-05-06
5
405 Views
Last Modified: 2012-06-27
Hi,

I have a crystal report with one group header. If the group consists of more than 17 records in the detail section, then i want to display them in the next page. Can you please provide me the steps to do it ?

Thanks
0
Comment
Question by:milani_lucie
  • 3
  • 2
5 Comments
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 24321901
Try this idea

Add a formula to the group header
WhilePrintingRecords;
Gobal NumberVar GroupRecordCount;
GroupRecordCount := 0;
''

In the detail section add a formula
WhilePrintingRecords;
Gobal NumberVar GroupRecordCount;
GroupRecordCount := GroupRecordsCount + 1;
''

In the section expert
Click the DETAIL SECTION
Click the formula button to the right of NEW PAGE AFTER
WhilePrintingRecords;
Gobal NumberVar GroupRecordCount;
GroupRecordCount = 17;

mlmcc
0
 

Author Comment

by:milani_lucie
ID: 24321941
How to add a formula to group header ? Can you please provide steps ? Appreciate your time and patience !

Thanks
0
 

Author Comment

by:milani_lucie
ID: 24321954
Got it. Thanks
0
 

Author Comment

by:milani_lucie
ID: 24321968
How to add a formula to group header ? Can you please provide steps ? Appreciate your time and patience ! Sorry i stuck up here !!

Thanks
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 24322287
Did you get it.

Display the field explorer
Right click FORMULAS
Click NEW
Give it a name
Enter the formula
Click SAVE AND EXIT

Drag it from the FIELD EXPLORER to the report just like any other field

mlmcc
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

820 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