Data Tools: Mail Merge
- 2 minutes to read
The commands available in the Mail Merge section of the Data Tools toolbar are divided into the following categories.
Enables mail merge for a connected data source.
After enabling this mode, the data source icon is displayed in green in the Data Explorer.
There is no functionality for disabling mail merge once it has been implemented.
Invokes the FilterString Editor to filter data in a mail merge document.
Invokes the Sort dialog to sort data in a mail merge document.
Allows you to navigate through records in a mail merge document. You can navigate to the Next Page, the Previous Page, the First Page or the Last Page.
Finish & Merge
Finalizes a mail merge document by supplying actual values to data elements added to a document template.
This command invokes a drop-down menu to select the publishing format of a document. The following options are available.
After selecting the document's output format, the Export Range dialog is invoked to specify the range of data records that the document should include.
In this dialog, you can choose from the following separators to isolate different data records.
Section (Next Page);
Section (Even Page);
Section (Odd Page);
To learn how to provide custom separators, refer to the following online code example: How to provide custom separators for records of a mail-merge document.
After clicking OK, Snap starts assembling the document. To avoid application lock-ups, the document is assembled in a separate background thread.
To implement a custom progress indicator, refer to the following online code example: How to add a custom progress indicator to a Snap application.