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

Detail lines splits over pages

edited May 2002 in General
Hi

I designed a report resembling an Invoice. The detail band consists of
a 1x DBRichText and 4x DBText components.

The DBRichText contains the description of the transaction, and can be
multiple lines. The four DBText components contains the values.

The problem I am having, is when it is a large invoice with 2 pages. At
the end of the 1st page, the DBRichText gets printed, and then on the
2nd page the DBText fields (with the transaction values) get printed.

This happens even if the last transaction on the first page has a single
line description. It always splits the description and the values onto
seperate pages.

I tried to solve the problem by placing a Region control into the
Details band, and then placing the DBRichText and DBText files into the
region control. Then setting the KeepTogether = True for the Region,
and still it doesn't work.

I am using Delphi 5 and RB Enterprise Ver.5.

Any ideas?

Kind Regards,
- Graeme -

Comments

  • edited May 2002
    Using the region component should accomplish this. Is it possible that the
    KeepTogether is getting reset at some point before the report prints? If the
    problem persists can you please send the report template to
    support@digital-metaphors.com.

    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors

  • edited June 2002
    Sorry I don't have a solution but I am in a similar situation and neither
    regions or a group
    will solve it.
    I got a subreport with 3 regions, the 1st contains some general data, the
    2nd is an optional note
    and the 3rd one contains only a line. The 2nd shifts relative to the 1st and
    the 3rd with the 2nd...
    I just want these 3 regions to stick together and go to the next page if
    there's no room on the
    current one, tried keeptogether and using a group with a static label under
    the line but no matter
    what the line will often be found alone on the top of the next page!
    So what the hell should I use to keep these 3 regions on the same page (also
    tried putting the
    3 regions inside a big region but it only works for non-region components
    right?).


This discussion has been closed.