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

User Defined Mailmerge

edited July 2004 in General
We want to use ReportBuilder for mail merge. I can see from the simple
example in the guide how to make up a mail merge on behalf of a user, but is
it possible to put together an environment whereby the user can design his
own mail merge and run this himself? I envisage an environment whereby the
user can drag and drop fields to possibly a TRichEdit surface and be able to
save this and run it in a real time mail merge situation.

Peter Knapp

Comments

  • edited July 2004
    Hi Peter,

    Although nothing like this currently exists in ReportBuilder, it could be
    possible to create a custom richtext editor that would allow your users this
    capability and then format the rich text to work correctly with
    ReportBuilder. This may require the creation of a new Report component.
    See the example in the \RBuilder\Demos\6. RCL\... on creating new
    components. Also take a look at the TppCustomRichText.MergeDBFields method
    inside the ppRichtx.pas file on how we parse the richtext text and insert
    the field values.

    --
    Best Regards,

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