Locating a field, column or record number

To scroll to a particular record number, use the LOCATE primary command:
LOCATE record_number

In all display formats, you can scroll to a particular record number by typing the record number in the Record field, then pressing Enter.

In all display formats except SNGL and TABL, you can scroll to a particular column by typing the column number in the Col field, then pressing Enter.

In SNGL and TABL display format, you can use the LOCATE primary command to scroll to a particular field, using either the field reference number or the Field Name. For example:

LOCATE #5

or

LOCATE Age

When the field is an item in an array, you must specify a subscript in parentheses to identify the occurrence that you want to locate. If your field is part of a multi-dimensional array, you must specify a subscript for each dimension in the array. For example:

L #7(5)
L #9(2,3)

In TABL display format, the LOCATE command scrolls your view so that the specified field becomes the leftmost visible field. Once positioned on a field, you can use the Down (F8) or Up (F7) commands (function keys) to scroll through the records and maintain the same relative field view.

In SNGL display format, the LOCATE command scrolls your view so that the specified field becomes the topmost visible field. Once positioned on a field, you can use the Next (F11) or Prev (F10) commands (function keys) to scroll through the records and maintain the same relative field view.

Related topics