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
Solved

Add new page after group in crystal reports

Posted on 2013-01-19
4
7,009 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
ID: 38797803
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
ID: 38798018
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
ID: 38798718
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
ID: 38798738
"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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

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 …
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 …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

791 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