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