component_list_of_key_fields_.htm
Navigation: Templates > Template Language Reference > #PROMPT Entry Types Alpha Listing >====== COMPONENT (list of KEY fields) ====== | |
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
component_list_of_key_fields_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1