Mail Merge | |||
The chapter Connecting to Databases showed you how to store the entire contents of a TX Text Control in a database field. For implementing mail-merge functionality, however, the requirements are different: the contents of database fields have to be inserted at specified positions in a previously prepared document. The following series of sample programs starts with an introduction on how to use text fields with databases. Step 2 then adds printing capabilities, and step 3 finally shows how to prepare a document for mail merge by inserting database fields. The source code for this example is contained in the subfolders Step1 to Step3 of the following directories:
| |||
| |||