The chapter Connecting to Databases showed you how to store the entire contents of a 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 sample program provides you with the knowledge of how to do this.
Step 1 - Merging Database Data and Text
Step 2 - Printing more than one Record
Step 3 - Dynamic Template Generation