Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 580
  • Last Modified:

Need help with with page after or before in Crystal

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
Gerhardpet
Asked:
Gerhardpet
1 Solution
 
mlmccCommented:
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
 
GerhardpetAuthor Commented:
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

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now