FIND

Purpose

The FIND command searches the field specified on the SET command for a character string that matches a specified string. FIND searches from the top of the panel to the bottom. There are two steps to using the FIND command:
  1. Enter SET with the desired field.
  2. Enter FIND with the desired character string.

Syntax

Read syntax diagramSkip visual syntax diagram
FIND

>>-+-FIND-+--string--------------------------------------------><
   '-F----'           

Parameters

string
specifies the character string to be found.
Note:
  1. FIND is not case-sensitive; both string and the field contents are treated as uppercase characters. For example, FIND treats ‘SERV’ as a match for ‘serv’.
  2. string can begin in any character position of the field; it can be imbedded in the field. For example, FIND treats ‘SER’ as a match for ‘SERV’.
  3. FIND has only one comparison operator, EQ, which is also the default.

Results

The FIND command searches the field specified on the SET command for a character string that matches the specified string. FIND searches from the top of the panel to the bottom. If a match is found, the panel entry that contains string is displayed at the top of the scrollable area.

Examples

  1. To search the Customer Name field for ‘FINANCIAL’, enter:
    SET  CUST
    F    FINANCIAL
  2. If the string contains blanks, enclose it your search argument in quotation marks. For example, the following is a search for ‘AND SHIP’.
    SET  CUST
    F    'and Ship'