Solved

Add new page after group in crystal reports

Posted on 2013-01-19
4
6,457 Views
Last Modified: 2013-01-20
I have a crystal report that I am trying to print on both sides if there are enough records in the group. Here's what I have

Report Header

Page Header

Group Header Section

Section Details

Group Footer

Report Footer

Page Footer

What I want to do is if the group doesn't have enough records to fill and a page front and back then add a blank page.

Example: Say the group has 20 records and I can get 50 records on a page. Then after the 20 records I need to add 2 new pages. One for the end of the group and one so that the next group doesn't print on the back of the current group.
0
Comment
Question by:whiwex
  • 2
4 Comments
 
LVL 11

Expert Comment

by:Deepak Lakkad
Comment Utility
Hi,

As I understand, you want to print your new group on new page even if the page is empty.

If so, you can use Group Footer's property. The steps are as below:

1. Right click on group footer
2. Select "Format Section..."
3. Check "New Page After" check box.
4. Press Ok.

- Deepak Lakkad
0
 
LVL 77

Accepted Solution

by:
peter57r earned 500 total points
Comment Utility
To do this you need 2 group footer sections. You have one already (which i assume is set to throw a new page after) so you need to add another one - right click in the left section label  for group footer and choose Insert Section Below.
You can make this as small you like.

For the new group footer section, in the NewPageAfter conditional format button you use...

PageNumber mod 2 = 1

This will throw an extra new page if the group footer is on an odd numbered page.
0
 

Author Closing Comment

by:whiwex
Comment Utility
After a week of struggling with this I finally figured it out. I'll give you credit anyway because your answer is almost correct. You have to have the second group but you also have to have something in the groupfooters. I mde the group footers as small as I could without putting anything in the footer. It now works
0
 
LVL 77

Expert Comment

by:peter57r
Comment Utility
"You have to have the second group but you also have to have something in the groupfooters"

I haven't found this to be the case myself.

Just to be precise, I did not say you need another group, only a second group footer for the existing group.
Capture15.PNG
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

744 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now