To define a Keyword Range:
-
Select the Keyword Types branch in the Visual AFP Configuration window.
Tip:
Ensure that the Keyword Type branch selected belongs to the correct Document Type before proceeding.
- Drag the mouse over the area on the sample file that corresponds to a Keyword Value to be identified by the AFP COLD processor. The length of this area should be the largest possible area that the Keyword Value will occupy. This will avoid any value being cut off when the Process Format is run. When the mouse is released, the area will be highlighted in yellow.
-
Right-click on the highlighted Keyword Value and select Add Keyword Range.
Note:
Page Tag Ranges and Page Keyword Ranges are not supported in AFP COLD processing.
- The Select Keyword Type dialog box is displayed.
-
Select the Keyword Type that is represented by the highlighted value and select Apply.
The selected Keyword Type is displayed immediately below the Keyword Type branch, along with the TOP, BOTTOM, RIGHT, and LEFT coordinates of the Keyword Type on the displayed page. Configured Keyword Values display in green.
- Double-click the [VALIDATION] branch to toggle between YES and NO.
-
You can strip characters from the string if it contains excess characters that you do not want to store as part of the Keyword Value. Click the [Process] branch to display the Process Field dialog box and select one of the character stripping options:
-
Keep All Characters - Retains all characters of the string for the Keyword Value. This is the default value.
-
Strip Spaces- Removes all spaces from the string for the Keyword Value.
-
Strip Character- Removes a specific character from the string for the Keyword Value. Enter the character to be stripped in the text field.
-
Strip...Chars from Beginning or Strip...Chars from End - Removes a certain number of characters from the beginning or end of the string. Enter the number of characters you want to remove from the string in the text field.
-
- For Currency or Date Keyword Types, right-click the [FORMAT] branch and select Edit to correctly format the Keyword Type.
-
Repeat steps 1-7 to identify additional Keyword Ranges.
Note:
Page Tag Ranges and Page Keyword Ranges are not supported in AFP COLD Processing.