?
Solved

Need help with with page after or before in Crystal

Posted on 2014-01-11
2
Medium Priority
?
576 Views
Last Modified: 2014-01-11
I have a report where I sort by customer number. What I want to do is start a new page after the customer number does not start with 9

Example:

Customer Number
9abc
9zxc
9iop
abczxc
dsfre
345iu

The report would first print all customer numbers that start with a 9 and then start a new page with all customers that do not start with a 9

How can I accomplish this?
0
Comment
Question by:Gerhardpet
[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
2 Comments
 
LVL 101

Accepted Solution

by:
mlmcc earned 2000 total points
ID: 39773837
Try this idea

Create a formula - GroupBy
If Left({CustomerNumberField},1) = '9' then
    0
Else
    1

Create a group on the field
Delete the group name from the group header
Right click the Group Header in the left margin
Click SECTION EXPERT
On the first tab
   CLick the option SUPPRESS BLANK SECTION
On the paging tab
   Click the formula button to the right of NEW PAGE BEFORE
       Not OnFirstRecord
   CLick SAVE
Click OK

mlmcc
0
 
LVL 1

Author Comment

by:Gerhardpet
ID: 39773895
It works. Left my older formula in there and that is why it did not work on first try.

Thanks for your help!
0

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
An alternative to the "For XML" way of pivoting and concatenating result sets into strings, and an easy introduction to "common table expressions" (CTEs). Being someone who is always looking for alternatives to "work your data", I came across this …
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

650 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