Solved

Need help with with page after or before in Crystal

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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. …
Composite queries are used to retrieve the results from joining multiple queries after applying any filters. UNION, INTERSECT, MINUS, and UNION ALL are some of the operators used to get certain desired results.​
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…

895 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

15 Experts available now in Live!

Get 1:1 Help Now