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

ppDBRichView overflow behaviour

edited December 2005 in General
Hi,

We have a report that prints multiple RichView Text's along pages.
The RichView component is a TppDBRichText, connected to a memo field.

The first line of text is usually a large font formatted text.

Detail Band height = Dynamic.
TppDBRichText Stretch = True

All works well except when the available printing space in the page is less
than the space needed to print at least one line of text (the first one).
In this case, the report engine "prints" the first line collapsed inside the
detail band and the detail band height is very small. All the other text
lines are printed in the next page, as expected.
We have already tried to use the overflowoffset property, but this space is
always wasted in all the detail bands printed the and in some cases the
first line of text still prints collapsed.

Any idea how to fix this ?

RB 9.03, Delphi 2005 Professional, Win32 App.

Regards,

Nuno Fonseca

Comments

  • edited December 2005

    One possible solution is to create a group that breaks for each record. In
    the Group Dialog, the set the 'New Page when less than" value to force the
    group to start on a new page when there is less than X amount page space
    left.

    If you want to create a simple example that we can run here in the Delphi
    debugger, please send in zip format to support@digital-metaphors.com.



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited December 2005
    Nard,
    Your solution worked very well.
    Thank you.

    Happy New Year for the Digital Metaphors Team and all other users of this
    news group.

    Best regards
    Nuno Fonseca

This discussion has been closed.