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

Master-Detail with subreport question

edited August 2002 in General
Hi,

I have a master-detail with subreport working fine.

In Detail, I have a limit for 38 lines.

If amount of details is over 38, the report go to next page and is working
fine too.

At the end of detail, I have a summary with totals.

When I have exact 38 lines in detail, only totals print on next page.

In this case, I want to print only 37 lines and on next page, last line and
summary with totals.

I also can reduce the limit to 37 lines, but when I get exact 37 lines in
detail, the problem repeated.

Before print I know how many lines I will have in detail.

I am asking for help and suggestion for better solution to solve that
problem.

Best regards

Sergio Melchiori

Comments

  • edited August 2002
    This will require some effort. You'll have to detect the last page when you
    have an orphaned summary and move the detail band from the previous page to
    the last page and shift the summary band down. This can all be done by
    modifying the draw commands on the pages. I can send you a demo of this
    shortly.


    Cheers,

    Jim Bennett
    Digital Metaphors

  • edited August 2002
    Could you send the DEMO to smelchi@bol.com.br

    Best Regards

    Sergio Melchiori


This discussion has been closed.