Name of File Created While Exporting Item to Microsoft Word defines what the name of the file created by exporting a company to the MS Word will be. The setting can be used for unification of all your files - you will have a transparent overview of your files.
Double-clicking Name of File Created While Exporting Item to Microsoft Word in the list will bring up the Global Setting card.
Field on the Global Setting Detail
You can enter a plain text to the field, but it means that all exported files will be named identically. The most common way of creating a file name is using the system global variables - you can use them for creating your own specific structure for file names.
You can generally use these variables: "CURRENT_USER" (for work with data about current user), "CURRENT_ITEM" (for work with data about current item), "CURRENT_ITEM_OWNER" (for work with data about owner of the current item).
If you are defining the file name, you can use different variables and their attributes in this order: $VARIABLE_NAME[NameOfTheColumnInDatabase], e.g. $CURRENT_ITEM[FileAs] fills in the name of the item, in this case the company.
You fill in only those variables you really want to have in the file name. The usage of syntax can look like this (you can use different forms of syntax):
Example 1 - text entry
It will create a file with the name contains "eWay-Company ID-Company name".
Example 2 - SQL entry
SQL#SELECT 'eWay-' + '$CURRENT_ITEM[FileAs]'
It will create a file with the name contains "eWay-Company name".
Clicking OK in the lower part of the Global Setting card will save changes and close the card. If you wish to close the Global Setting card without saving any changes, click Cancel.