Skip to Content
author's profile photo
Former Member

Keep group header and first detail section on same page

Using Crystal Reports 2008 SP3.5 on a Windows XP SP3 machine

Hi All,

Currently I'm developing an invoice report.

In this report I want to show the order lines per order, order per delivery and delivery per invoice. The problem I'm facing is that paging isn't always performed correctly. Sometimes it happens that the group header is displayed on the first page and the corresponding order line is displayed on the page after.

I would like to keep at least the first order line on the first page.

Here's an example of my structure:

Invoice (GP1)

---Delivery (GP2)

-


Order (GP3)

-


OrderLine (GP4) (summary of details)

-


Detail

-


Detail (possible)

-


OrderLine

-


OrderLine

-


OrderLine

-


OrderLine

-


Order

-


OrderLine

-


OrderLine

-


OrderLine

---Delivery

-


Order

-


OrderLine

-


OrderLine

-


OrderLine

-


Order

-


OrderLine

-


OrderLine

-


OrderLine

etc...

So I would like to keep GP3, GP4 together (GP1 and GP2 will be repeated on each page)

Hope anyone can help.

Kind regards,

Cyrus

Edited by: Cyrusje on May 4, 2011 10:59 AM

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    author's profile photo
    Former Member
    Posted on May 04, 2011 at 09:15 AM

    If you want to ensure that first part of GP3 and GP4 appear on first page you must go into Change group -> options and turn off keep together.

    Other wise if they hold a lot of data which is larger than a page they will move onto next page.

    Ian

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      you have to try different permutations for the Group Options.

      I would try

      Group 2 check both keep together and repeat Group Header on new page

      Group 3 check keep together

      Group 4 uncheck keep together

      Ian