Follow-On Topics

Related Topics

# About the Main Tab

The Main tab provides features for importing a Word document or template containing mail merge fields. The mail merge fields can then either remain mapped to their original document data source or King Task Centre data from the Task Browser dialog box can be dragged and dropped against specific fields. The tab contains the following:
|  | Current Input — Provides the following options:
|  | Import — Displays a standard file browser dialog box to enable a MS Word document or template file to be selected for importing into the King Task Centre database.
|  | Export — Displays a standard file browser dialog box to enable the imported MS Word document or template file to be exported from the King Task Centre database to another location and saved as a file.
|  | File Name — Regardless of the existing name of the file being imported, another name can be specified by manually entering it into the field.
| Click the image to view full size.

|  | Edit — Opens the document in the MS Word application to enable it to be edited. After editing the existing document version in the King Task Centre database is overwritten with the new version when it is saved.

|  | Use password for data source — If checked then the Password field is activated.

|  | Password — With the Use password for data source check box selected, the password required to access the original data source at task run time may be manually entered.

|  | Test — Tests the original document mail merge data source connection using where applicable the password entered in the Password field. A pop-up dialog box displays the results of the test.

|  | Field mapping — This area is used to map data against mail merge field as required. It contains a table that displays the mail merge fields available in the selected document under the following column headings:

|  | Mail Merge field — Displays the mail merge field name.

|  | Data source column — Displays [Mapped Field] where the Tool recognises that the field is correctly mapped to the mail merge data source. The column row is blank where no mail merge field is mapped. King Task Centre data may be dragged and dropped from the Task Browser dialog box into a column row against any mapped or unmapped mail merge field.

|  | Output document generation — This area is used to select how and how many documents are generated when the Step is run by selecting one of the following options presented as radio buttons:

|  | One document — Only one document is produced when the Step is run.

|  | New document when column changes — This option is used in conjunction with the Column drop down list to generate a document when the selected column changes.

|  | Column — When an input recordset has been previously selected in the General tab, the available columns are displayed in a drop down list for selection.

|  | New document for each row — A new document is generated for each row in the recordset.

Copyright © 2018 Quadrant Software B.V. All rights reserved.