| **Navigation:**  [[templates.htm|Templates]] > [[tlrcontents.htm|Template Language Reference]] > #PROMPT Entry Types Alpha Listing >====== KEY (list of keys) {{c6h0068.jpg|C6H0068.jpg}} ====== | [[icon call icon selection dialog .htm|{{btn_prev_n.gif|Previous page}}]][[tlrcontents.htm|{{btn_home_n.gif|Return to chapter overview}}]][[keycode list of keycodes .htm|{{btn_next_n.gif|Next page}}]] | | || **KEY** [ **(** //scope// **)** ] {{blk2blue.jpg|blk2blue.jpg}} | **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**