Find

Use the Find command in the editor to find segments that contain specified character strings.

You can use the editor while the Find dialog is open.

Follow these steps:

  1. Right-click anywhere in the editor, click Find.
    The Find dialog displays.

  2. Specify the find details:

    • Find
      Specifies the string to find.

    • Type
      Specifies the data type of the find string.

    • Length
      Specifies the length of the find string. The field is only active when you select the Packed decimal as data type. You must fill the Length field when the Find field is empty, otherwise the field is optional.

  3. Select the column range information:

    • Start column
      Specifies the first, or leftmost, column in which to search.

    • End column
      Specifies the last, or rightmost, column in which to search. If no end column is specified, the specified string must be in the start column. If no column limits are specified, all columns are searched for the string.

  4. Select the occurrence options:

    • Next
      Start from the current position in the database and locate the next occurrence of the specified string.

    • Previous
      Start from the current position in the database and locate the previous occurrence of the specified string.

    • First
      Start at the beginning of the database and locate the first occurrence of the specified string.

    • Last
      Start at the end of the database and locate the last occurrence of the specified string.

  5. Select the location options that define where the string can occur in the context of other characters in a segment:

    • Character
      Match strings anywhere in a segment.

    • Word
      Match only complete words.

    • Prefix
      Match only strings at the beginning of words.

    • Suffix
      Match only strings at the end of words.

  6. (Optional) Specify the find limit to limit the number of segments to search. A value of 0 means that there is no limit. Do not enter more than eight digits.

  7. Click one of the following buttons:

    • Find
      Runs the find command until the specified conditions are met once.

    • Find all
      Runs the find command until all instances that meet the specified conditions are found and displays the number of matches.

  8. Click Close.
    The Find dialog closes. The results in character format remain highlighted until you run the Find command again. In single-record format the highlighted position of the cursor ceases after you click in the editor.