Locating a field or column

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 segments 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 segments and maintain the same relative field view.

Related topics