FIELD (list of data fields)

Top  Previous  Next

 

FIELD [ ( scope ) ]

FIELD

Displays a list of fields in FILEs.

scope

A symbol containing a FILE label. If omitted, the list displays all fields for all FILEs.

The FIELD type in a #PROMPT statement indicates the prompt's symbol must contain the label of a field in a data file. A list of available fields pops up when the #PROMPT is encountered on the Properties screen.

There may be a scope parameter that limits the fields available in the list. If scope names a FILE, the list displays all fields in the FILE. If there is no scope parameter, the list displays all fields in all FILEs.

Example:

#PROMPT('Locator Field',FIELD(%Primary)),%Locator