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

TppRichText problems

edited February 2003 in General
Hi,

Premises :
- I use Delphi 6.02 and RB 6.x.
- I have several about 2.5 pages long rtf-letters, which I want to
send to various people according their native language
- I load those letters to TppRichText in BeforePrint
- New page is controlled by the sub-report placed before TppRichtext,
because I couldn't find any other way to do it
- TppRichText strech is true

Problems :
- Every bloody letter seems to start where ever it wants to - +/- 4 rows
from desired position
- Blank pages occasionally in the middle of the letter and sometimes
between them

So, what's wrong here or is it only me...

Regards
Kari Raty

Comments

  • edited February 2003
    First, upgrade to RB 7.01. You will find the rich text printing is better
    than in RB 6. There were a few fixes to correct rich text rendering for this
    release.

    Then you should let the rich text control break across pages in a simple
    report to see that it is printing entirely and correctly with no other
    controls in the report. There should only be one rich text control to print
    the entire letter. Don't use a subreport to cause a page break. If you want
    to force a page break, use other techniques. One such technique is to limit
    the available space on the page the report richtext control has to print.
    The first method is to set the BottomOffset of the richtext control or the
    detail band it is located in. Another way is to resize the page footer to be
    taller, occupying more whitespace. If you still can't get the letter to
    print how you want it, then send a simple example with the a description or
    image of how you want the report to look like to
    support@digital-metaphors.com and I'll see if there is something we can do
    to get it to print how you want it to.

    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.