Function key triggers are associated with individual Runform function keys. A function key trigger fires only when an operator presses the associated function key. The actions defined in a function key trigger replace the default action that the function key would normally perform.
The following table shows all function key triggers and the corresponding Runform function keys.
Key Trigger |
Associated Function Key |
---|---|
Key-CLRBLK |
[Clear Block] |
Key-CLRFRM |
[Clear Form] |
Key-CLRREC |
[Clear Record] |
Key-COMMIT |
[Accept] |
Key-CQUERY |
[Count Query Hits] |
Key-CREREC |
[Insert Record] |
Key-DELREC |
[Delete Record] |
Key-DOWN |
[Down] |
Key-DUP-ITEM |
[Duplicate Item] |
Key-DUPREC |
[Duplicate Record] |
Key-EDIT |
[Edit] |
Key-ENTQRY |
[Enter Query] |
Key-EXEQRY |
[Execute Query] |
Key-EXIT |
[Exit] |
Key-HELP |
[Help] |
Key-LISTVAL |
[List of Values] |
Key-MENU |
[Block Menu] |
Key-NXTBLK |
[Next Block] |
Key-NXT-ITEM |
[Next Item] |
Key-NXTKEY |
[Next Primary Key] |
Key-NXTREC |
[Next Record] |
Key-NXTSET |
[Next Set of Records] |
Key-PRINT |
[Print] |
Key-PRVBLK |
[Previous Block] |
Key-PRV-ITEM |
[Previous Item] |
Key-PRVREC |
[Previous Record] |
Key-SCRDOWN |
[Scroll Down] |
Key-SCRUP |
[Scroll Up] |
Key-UP |
[Up] |
Key-UPDREC |
Equivalent to Record, Lock command on the default menu |
Note that you cannot redefine all Runform function keys with function key triggers. Specifically, you cannot redefine the following static function keys because they are often performed by the screen or user interface management system and not by Oracle Forms:
[Clear Item]
[Copy]
[Cut]
[Delete Character]
[Delete Line]
[Display Error]
[End of Line]
[First Line]
[Insert Line]
[Last Line]
[Left]
[Paste]
[Refresh]
[Right]
[Scroll Left]
[Scroll Right]
[Search]
[Select]
[Show Keys]
[Toggle Insert/Replace]
[Transmit]
Definition Level form, block, or item
SELECT statements, restricted Built-ins, unrestricted Built-ins
no effect
Enter Query Mode yes
The default functionality performed by the following keys is not allowed in Enter Query mode:
[Clear Block]
[Clear Form]
[Clear Record]
[Accept]
[Insert Record]
[Delete Record]
[Down]
[Duplicate Item]
[Duplicate Record]
[Block Menu]
[Next Block]
[Next Primary Key]
[Next Record]
[Next Set of Records]
[Previous Block]
[Previous Record]
[Up]
[Lock Record]
Common Uses
Use function key triggers to perform the following tasks: