Follow-On Topics

Related Topics

# About the Main Tab

The Main tab allows the selection of the file contents through the selection of a variable or a column from an Input Step, the location and the file name under which it is to be saved. The tab contains the items listed below.
|  | Source — This area is not active if the Read documents from a source option has been selected in the General tab. It contains the Value field which is populated by dragging and dropping a column or variable, which contains the document to be saved, from the Task Browser into the field.
|  | Destination — This area is used to select a path and filename to be used through the following:
|  | Path — The file path may be manually entered or selected through a Browse button. A dynamic value may also be used by dragging and dropping a column or variable containing the file path, from the Task Browser into the field.
| Click the image to view full size.

|  | Filename — A new file name may be manually entered or an existing file name selected through a Browse button. A dynamic value may also be used by dragging and dropping a column or variable containing the file name, from the Task Browser into the field.

|  | Create destination folder if not found — If this option is checked then a new folder is created for the destination entered in the Path field above when the Task is run.

|  | Memory — Displays the Memory Definitions dialog box through which a Repository may be created to memorise some or all of the recordset used by the Step. This may then be used in conjunction with a Filter Data Step to control the sending of duplicate faxes by comparing the memorised data with a new recordset produced by the Input Step the next time the Task is run.

|  | Content Encoding — This area is used to select the encoding of the output file.

|  | Selected encoding — The selected encoding is used to encode the output file. It is used for all text files.

TIP:

If creating multiple output files to be placed into the same destination path, that is, one for each returned row in the data set (with or without prior formatting via one of the Format Steps), the Database Query Step formula editor can be used in order to construct an appropriate dynamic file name and file extension.

EXAMPLE:

A simple example would be where the formula `str(`SALES_ORDER`.`ORDER_NUMBER`)+.htm` has been assigned to a formula field in the Database Query Designer as “`OrderFileName`”. The formula field “`OrderFileName`” would then be available as an option in the `Filename` drop-down selection.

The same principle can be applied to any option where columns from Input Steps are exposed in the drop down.

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