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