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

RB7.02-RTF printing only, if it doesn't break page

edited October 2005 in General
I'm working on an invoicing application, and I need to print an RTF
field (advertising information allowed to fill up the actual page)
after detail band ONLY if it does not break page. I don't want it, if
due to this advert field a new page has to be printed.
How can that be realised in RB 7.02 and D7?

Regards
Gunther

Comments

  • edited October 2005
    Hi Gunther,

    Sorry, I'm a bit unclear about the nature of this RichText component and
    what you would like to happen.

    If you would like to cut off the rich text component at one page, you could
    manually size the component to the size of a page and be sure the Stretch
    property is set to False. This will only print the richtext information
    inside the alloted space.

    If you would like to try to keep the entire richtext component on one page
    you can set the KeepTogether property to True.

    If you would like to completely remove the richtext component from the
    report if it is too large you will need to pre-determine the height of the
    text before the report generates, then compare that value to the space
    available on the report page. Perhaps during the first pass of the report
    you could check this value and alter the TppRichText.Visibility accordingly.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

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