Solved

Need help with with page after or before in Crystal

Posted on 2014-01-11
2
565 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 500 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

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

When table data gets too large to manage or queries take too long to execute the solution is often to buy bigger hardware or assign more CPUs and memory resources to the machine to solve the problem. However, the best, cheapest and most effective so…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…

696 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