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:
- Enter SET with the desired field.
- Enter FIND with the desired character string.
Parameters
- string
- specifies the character string to be found.Note:
- 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’.
- 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’.
- 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
- To search the Customer Name field for ‘FINANCIAL’, enter:
SET CUST F FINANCIAL
- 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'