Solved

Need help with with page after or before in Crystal

Posted on 2014-01-11
2
560 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
2 Comments
 
LVL 100

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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

Suggested Solutions

Title # Comments Views Activity
Database maintenance 36 110
SQL Query help 3 46
UPDATE JOIN multiple tables 5 23
Estimating my database size 7 21
I'm trying, I really am. But I've seen so many wrong approaches involving date(time) boundaries I despair about my inability to explain it. I've seen quite a few recently that define a non-leap year as 364 days, or 366 days and the list goes on. …
This article explains all about SQL Server Piecemeal Restore with examples in step by step manner.
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

730 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