COMPONENT (list of KEY fields)

Top  Previous  Next

 

COMPONENT [ ( scope ) ]

COMPONENT

Displays a list of KEY component fields.

scope

A symbol containing a KEY. If omitted, the list displays all KEY components for all KEYs in all FILEs.

The COMPONENT type in a #PROMPT statement indicates the prompt's symbol must contain the label of one of the component fields of a KEY. A list of available KEY fields pops up when the #PROMPT is encountered on the Properties screen.

The COMPONENT may have a scope parameter that limits the KEY components available in the list. If scope is the label of a KEY, the list displays all KEY components for that KEY.

Example:

#PROMPT('Record Selector',COMPONENT(%Primary)),%RecordSelector