Limiting the search range
When you issue the FIND or CHANGE primary command, you can limit the range of the search by specifying either a range parameter or by means of the scope setting.
The following table shows the search range for each range parameter.
| FIND or CHANGE range parameter | Search range |
|---|---|
| RECCURREC | All available segments within the current root record |
| NORECDBALLALLREC | All available segments within the database |
| CHILDDEP | All segments that are dependents of the segment at or closest to the cursor position |
| Not used | If scope setting is DB, all available segments within the database. If scope setting is |
There are two ways to change the scope setting:
- Use the SCOPE primary command:
- To limit the search to within a database record,
issue the command
SCOPE REC. - To allow the search across all database records,
issue the command
SCOPE DB.
- To limit the search to within a database record,
issue the command
- Use the Set SCOPE REC, limiting segments to within a database record
option on the Editor Options panel (0.5):
- To limit the search to within a database record, select this option.
- To allow the search across all database records, deselect this option.
Related topics