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

Variable in richtext / mailmerge

edited November 2008 in General
?Is it possible to add a variable to the richtext component and edit it
from calc?



--- posted by geoForum on http://delphi.newswhat.com

Comments

  • edited December 2008
    Hello,

    For future reference, please use your real name when posting these
    newsgroups.

    There is no built-in way to add a variable component to a richtext component
    inside a report. One option is to manually edit the richtext text yourself
    using the Paragraph, SelAttributes, SelStart, SelLength, and SelText
    properties. Another would be to make the calculations inside a field of a
    dataset and use the mailmerge feature to display the fields inside the
    RichText component.

    --
    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.