key_list_of_keys_.htm
Navigation: Templates > Template Language Reference > #PROMPT Entry Types Alpha Listing >====== KEY (list of keys) ====== | |
KEY [ ( scope ) ]
KEY | Displays a list of KEYs. |
scope | A symbol containing a FILE. If omitted, the list displays all KEYs in all FILEs. |
The KEY type in a #PROMPT statement indicates the prompt's symbol must contain the label of a KEY. A list of available keys from the data dictionary pops up when the #PROMPT is encountered on the Properties screen.
There may be a scope parameter that limits the KEYs available in the list. If scope names a FILE, the list displays all KEYs in the FILE. If there is no scope parameter, the list displays all KEYs in all FILEs.
Example:
#PROMPT('Which Key',KEY(%Primary)),%UseKey
key_list_of_keys_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1