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

RichText - Adding Lines

edited May 2014 in RAP
Hi,

I am new to Report Builder, and I am trying to figure out how to add lines
to a RichText object in RB using 'RAP'. I know you can do it with 'Memos'
using the Memo1.Lines.Add ('{insert text1}');, but how do you do it with a
Rich Text object.

The reasoning for this is, in my report I want the woring in the RichText
object to be different depending on a conditonal 'if then else' statement.


Hope that makes sense


Regards

Russell

---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com

Comments

  • edited May 2014
    Hi Russell,

    You can use the various RichText Paragraph properties to alter the
    actual RTF data.

    Take a look at the following properties in the RB help for more information.

    SelLength, SelStart, SelText

    The RichText component also support MailMerge which allows you to have
    dynamically updated text within the text based on DB values.

    Best Regards,

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