Adding an index

About this task

Follow these steps to add an index:

Procedure

  1. Make sure the report window is in Add mode. Click the Display and Add Parameters icon on the toolbar. The mode is displayed on the status bar.
  2. Clear any selected triggers or fields by clicking a blank area of the report.
  3. Click the Define Index icon on the toolbar to open the Add an Index window.
  4. Verify the Identifier. When adding an index, the administrative client automatically assigns the next available index parameter name, beginning with Index1.
  5. Assign an attribute to the index by selecting an application group field name from the Attribute list.
  6. For line data, verify the Type of index that is created by the indexing program. (PDF always uses Group.) If the Allow Multiple Values option is selected, Type is automatically set to Group.
  7. For line data, if the index is a group-level index, specify the Break. (Break=Yes is implied for PDF.) If the Allow Multiple Values option is selected, Break is automatically set to No. If the Indexer is 400, verify the Allow Multiple Values option. This option determines whether the indexing program extracts more than one value per group for the index. If you select this option and there is more than one index value found, the indexing program extracts all of the index values. If you do not select this option, the indexing program extracts only the first index value, even if there is more than one index value within the group.
  8. For 390 indexer only: Specify a value in the Initial Value field. You can specify a maximum length of 254. This value is optional.

    This value is helpful if you want the indexer to skip pages in the file, for example, header pages or alignment pages that precede the first document in the file and contain no index values. The 390 indexer skips pages in the file as long as the index values extracted from those pages match this initial value that you specify.

  9. Select one or more fields that the indexing program uses to locate the index. To select a field, click the field parameter name in the Fields list and then click Add>>. If the index type is Grouprange or Pagerange, only one field can be selected. If the index is based on a transaction field, only one field can be selected. If the index type is Page, only one field can be selected and the field must be based on a floating trigger. If a field that has been added to the index is based on a floating trigger, only one field can be added to the index. However, if the Allow Multiple Values option is selected, more than one field can be added to the index. The fields can be based on floating triggers or group triggers.
  10. Click Add to add the index.
  11. To add another index, repeat steps 4 through 10. When you have finished adding all of the indexes, click Done to close the Add an Index window.