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

A way to access RichText's lines AFTER is has been mailmerged

edited January 2014 in General
Is there a way to access the Richtext's lines after they have been
mailmerged?

I want to hide the entire component if after merging it it's empty...

Comments

  • edited January 2014
    The OnMailMerge event fires after the mail merge has completed.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited January 2014
    ... and the merged richtext lines are in ... property ;-)?
  • edited January 2014
    Hi Dimitar,

    Once the mail merge has been executed, you can access the richtext as
    you would normally using the built-in helper routines to access the
    underlying RichEdit control. You can also access the raw RTF data using
    the RichText property.

    See the following topics in the RB help for more information on
    accessing the RichEdit in code.

    TppCustomRichText.Paragraph
    .SelText
    .SelAttributes
    .SelStart
    .SelLength
    .SelectAll
    Best Regards,

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