Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

ppShape - header with ppregion

edited June 2014 in General
Hi

If put a ppShape in header and size it for full page, each page off
report with subreport print fine.

If put a ppregion in the same region, subreport start to print in
another page. I am using a ppregion to make visible for first page and
invisible for other pages.

Also there is a group that brake and start counting page again.

I am trying to print the ppshape like a form.

--------------------------
| Page 1 |
|HEADER |
|----------------------- |
|HEADER 2 |
| |
|----------------------- |
|SUBREPORT |
| |
| |
| |
| |
| |
| |
| |
| |
|----------------------- |
|SUMMARY |
--------------------------
on page 2, header 2 is inside a ppregion and it will be invisible.

--------------------------
| Page 2 |
|HEADER |
|----------------------- |
|SUBREPORT |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
|----------------------- |
|SUMMARY |
--------------------------

Best regards

Sergio Melchiori

Comments

  • edited June 2014
    Hi Sergio,

    1. If you would like a shape to occupy the entire report (page), you
    should consider using a page layer rather than placing a large shape
    inside the header band. This will essentially print the shape behind
    all other report objects in the main layer.

    2. Depending on how large your region is and if your subreport is set to
    KeepTogether, it's possible that there is not enough space for the
    subreport when the region is visible.

    3. Rather than splitting the header into two headers, I suggest using a
    group header (set to display on the first page only) as your "second"
    header. You may also be able to use the Title band of the subreport for
    this purpose as well.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited June 2014
    Thansk for your answer.

    Could you provide some demo with page layer or any help how to use it?

    Best regards



  • edited June 2014
    Hi Sergio,

    No need for an example.

    1. Open the designer to design a report.

    2. Inside the Report Tree (generally docked to the top left of the
    designer window) right click the "Design Layers" node and select "New
    Page Layer" from the popup menu.

    3. You will notice a new tab at the bottom of the Report Tree for the
    new page layer. Click it to alter the page layer design.

    4. Everything inside the page layer will print behind the main report
    design. You could for instance, place a shape inside the page layer and
    set its ParentHeight and ParentWidth to True giving a full page border.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.