"Mail Merge" means the automatic update of data fields in any document. It can be used to do mass mailing or to create customizable database record views.<br> With WPTools merge fields are not destroyed by the merge process, the field data can be exchanged as soon as it changes. So it is possible to scroll through a database with a merge letter being "attached".<br> It is also possible to read out the contents of the merge field. So the document can be also used as data entry from.
The mail merge feature is exceptionally strong with WPTools. You can merge in standard ANSI text, formatted text and images. Formatted text may be encoded in HTML, RTF or the WPTOOLS format. The merge fields always use a start and an end marker. This makes it possible to just replace the text inbetween - the merge process can be repeated over and over again. Similar fields as for mail merge can be also used to create forms.
Example Mail merge form
The display of the field markers can be customized. They can be also hidden (property "InsertPointAttr"). The text inbetween ("AutomaticText") is the merged text.
What's so special about this mailmerge engine?
mailmerge does not overwrite fields, therefore it's possible to merge the same text again and again
formatted text and graphics can be inserted during mailmerge
mailmerge is event driven, thus making it independent of any database
you are able to change field attributes (color, font style) during mailmerge, e.g. color negative numbers red
When merging graphics it is possible to just replace the contents of a graphics placeholder. This makes it possible to keep the width and height unchanged.
The fields can be protected and displayed in a different color
possibility to show hints for fields
fields are loaded and saved using standard RTF tags
the mailmerge fields are compatible to our WPReporter add-on templates - making it easy to upgrade if you need advanced mailmerge capabilities, such as creating tables or lists.
Optionally it is possible to display a poput when the mouse is moved over a field, for exampe to show the name of the field.
Combine several letters to large document:
Only a few lines of code are required to combine the texts. You can insert page breaks between the letters and even create a new section (with a different page layout).
"WPTools offers us the power and control of a word processor in the form of a regular Delphi component. ... It is clear that the author has spend a lot of time making sure the class hierachy is the best it can be both from a usability and performance perspective. ... If you need both GUI and code-level control over your documents, WPTools is the answer" - Craig Murphy in Delphi Magazine, February 2005 Page 46-51
"Just on a side note, thanks for the recent help support, its been great. My experience with your components just gets better and better and better. There just bloody awesome" - Grant Brown 2/13/06