Solved

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

Posted on 2009-05-06
5
407 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
[X]
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
  • 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

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

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 …
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…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

732 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