SlideShare a Scribd company logo
5
Most read
10
Most read
11
Most read
Oracle Forms-Key Triggers
http://ebiztechnics.blogspot.com
Objectives
• Defining Key Trigger and their Uses
• Characteristics of Key Triggers
• Types of Key Triggers
• Associate Function Keys with Interface Controls
http://ebiztechnics.blogspot.com
Key Trigger
• What is a key trigger?
• Example:
Using a Key-Exit trigger display an Alert, If user selects Yes. Exit the
form.
SET_ALERT_PROPERTY(‘exit_alert’,
ALERT_MESSAGE_TEXT,
‘Do you really want to leave the form?’);
IF SHOW_ALERT(‘exit_alert’) = ALERT_BUTTON1 THEN
EXIT_FORM;
END IF;
http://ebiztechnics.blogspot.com
Characteristics of Key Triggers
• You cannot redefine all function keys with
key triggers.
• Key triggers are defined at all three levels.
• A key trigger can contain SELECT statements and all built-ins.
• Key triggers can fire in Enter Query mode.
http://ebiztechnics.blogspot.com
Built-ins in Key Triggers
Function Key
[Accept]
[Clear Form]
[Create Record]
[Delete Record]
[Exit Form]
Key Trigger
Key-Commit
Key-Clrfrm
Key-Crerec
Key-Delrec
Key-Exit
Built-in
COMMIT_FORM
CLEAR_FORM
CREATE_RECORD
DELETE_RECORD
EXIT_FORM;
http://ebiztechnics.blogspot.com
Types of Key Triggers
• Function key triggers
• Key-Fn triggers and Oracle Terminal
• Key-Others triggers
• Oracle Terminal Used for mapping keys.
• Key mappings are done in following Resource files:
– Client/Server FMRUSW.RES
– Web mode FMRWEB.RES
http://ebiztechnics.blogspot.com
Mouse-event key triggers
• Key-Next-Item
• Key-Prev-Item
• Key-Nxtrec
• Key-Prvrec
• Key-Up
• Key-Down
• Key-Scrup
• Key-Scrdown
• Key-Nxtblk
• Key-Prvblk
http://ebiztechnics.blogspot.com
Using Key Triggers
• Adjust user interface
• Disable a (set of) function keys
• Replace or extend functionality of function keys
• Add additional function keys
• Be careful with Key-Others
• Do not use for validation
http://ebiztechnics.blogspot.com
Specific Uses of Key Triggers
• Call an LOV form
• Check for detail records before deleting a
master record
• Prevent duplication of the primary key
• Adjust toolbar buttons for Enter Query mode
http://ebiztechnics.blogspot.com
Associating with other Interface Controls
• DO_KEY(’Key-Exit’) gives run-time
error
• Corresponding interface control
descriptions
In When-Button-Pressed and Menu item code:
DO_KEY(‘EXIT_FORM’);
http://ebiztechnics.blogspot.com
Summary
• Define key triggers in order to
– enhance keyboard functionality
– replace keyboard key
• Provide consistent functionality between
Function keys, buttons, menu items, and
mouse events
• Define Key-Fn, Key-Others, and mouse-event key triggers
http://ebiztechnics.blogspot.com

More Related Content

PPT
Oracle Forms Triggers
PPT
Oracle Forms: create debug triggers
PPT
Oracle Forms : Validation Triggers
PPT
Oracle Forms : Query Triggers
PPT
Oracle Forms Triggers
PPT
Oracle Forms : Coding ..
PPT
Oracle Forms : Reusable Components
PPT
Oracle Forms : Multiple Forms
Oracle Forms Triggers
Oracle Forms: create debug triggers
Oracle Forms : Validation Triggers
Oracle Forms : Query Triggers
Oracle Forms Triggers
Oracle Forms : Coding ..
Oracle Forms : Reusable Components
Oracle Forms : Multiple Forms

What's hot (20)

PPT
Oracle Forms Creation-List of Values (LOV)
PPT
Oracle Forms : Transnational Triggers
PPT
Oracle Forms-Canvas types
PPT
Oracle Forms: Introduction to multiple Forms
PPT
Oracle Forms Creation
PPT
Oracle Forms: Non input Items
PPT
Oracle Apps - Forms
PPT
Oracle Forms: Master Detail form
PPT
Oracle Forms Mouse triggers
PPT
Oracle Forms: Record Groups
PPT
Oracle D2K reports
PPT
Oracle Forms: Data Blocks on Different Sources
PPT
Oracle Forms :Window and Canvases
PPT
Oracle Forms: Messages
PPT
Oracle Forms: Menu
DOCX
Oracle Advanced Pricing (Creating a discount modifier using qualifiers)
PPT
Oracle Forms Tutorial (www.aboutoracleapps.com)
PDF
Oracle R12 Apps - Order Management Tables & Descriptions
DOCX
Oracle Quality setup
PDF
Oracle Forms Tutorial
Oracle Forms Creation-List of Values (LOV)
Oracle Forms : Transnational Triggers
Oracle Forms-Canvas types
Oracle Forms: Introduction to multiple Forms
Oracle Forms Creation
Oracle Forms: Non input Items
Oracle Apps - Forms
Oracle Forms: Master Detail form
Oracle Forms Mouse triggers
Oracle Forms: Record Groups
Oracle D2K reports
Oracle Forms: Data Blocks on Different Sources
Oracle Forms :Window and Canvases
Oracle Forms: Messages
Oracle Forms: Menu
Oracle Advanced Pricing (Creating a discount modifier using qualifiers)
Oracle Forms Tutorial (www.aboutoracleapps.com)
Oracle R12 Apps - Order Management Tables & Descriptions
Oracle Quality setup
Oracle Forms Tutorial
Ad

Viewers also liked (10)

PPT
Oracle Forms Creation part 3
PPT
Oracle 10g Forms Lesson 13
PPT
Oracle forms Lesson 15 debuging triggers
PPT
the cb model
PDF
database-canvas with multiple datablocks(database)
PPT
Oracle Forms :Object Features In forms
PDF
Oracledevelopertutorialapr10 w o_designer
PPT
Oracle 10g Forms Lesson 12
PPTX
Software de aplicación
PPTX
PL SQL Diplomado Oracle
Oracle Forms Creation part 3
Oracle 10g Forms Lesson 13
Oracle forms Lesson 15 debuging triggers
the cb model
database-canvas with multiple datablocks(database)
Oracle Forms :Object Features In forms
Oracledevelopertutorialapr10 w o_designer
Oracle 10g Forms Lesson 12
Software de aplicación
PL SQL Diplomado Oracle
Ad

More from Sekhar Byna (7)

PPT
Oracle Applications R12 architecture
DOCX
oracle APPS: Weekly Update
PPT
Oracle APPS :Receivables Auto Invoice
RTF
Oracle apps online training
PPT
Oracle Forms : Timers
PPT
Oracle Forms: Oracle Server features
PPT
Oracle Forms Introduction
Oracle Applications R12 architecture
oracle APPS: Weekly Update
Oracle APPS :Receivables Auto Invoice
Oracle apps online training
Oracle Forms : Timers
Oracle Forms: Oracle Server features
Oracle Forms Introduction

Recently uploaded (20)

PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
Digital Systems & Binary Numbers (comprehensive )
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PPTX
Computer Software and OS of computer science of grade 11.pptx
PDF
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
top salesforce developer skills in 2025.pdf
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
Nekopoi APK 2025 free lastest update
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PPTX
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Digital Systems & Binary Numbers (comprehensive )
Which alternative to Crystal Reports is best for small or large businesses.pdf
Computer Software and OS of computer science of grade 11.pptx
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
top salesforce developer skills in 2025.pdf
Upgrade and Innovation Strategies for SAP ERP Customers
Navsoft: AI-Powered Business Solutions & Custom Software Development
Internet Downloader Manager (IDM) Crack 6.42 Build 41
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
CHAPTER 2 - PM Management and IT Context
Design an Analysis of Algorithms I-SECS-1021-03
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Nekopoi APK 2025 free lastest update
Design an Analysis of Algorithms II-SECS-1021-03
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises

Oracle Forms- key triggers

  • 2. Objectives • Defining Key Trigger and their Uses • Characteristics of Key Triggers • Types of Key Triggers • Associate Function Keys with Interface Controls http://ebiztechnics.blogspot.com
  • 3. Key Trigger • What is a key trigger? • Example: Using a Key-Exit trigger display an Alert, If user selects Yes. Exit the form. SET_ALERT_PROPERTY(‘exit_alert’, ALERT_MESSAGE_TEXT, ‘Do you really want to leave the form?’); IF SHOW_ALERT(‘exit_alert’) = ALERT_BUTTON1 THEN EXIT_FORM; END IF; http://ebiztechnics.blogspot.com
  • 4. Characteristics of Key Triggers • You cannot redefine all function keys with key triggers. • Key triggers are defined at all three levels. • A key trigger can contain SELECT statements and all built-ins. • Key triggers can fire in Enter Query mode. http://ebiztechnics.blogspot.com
  • 5. Built-ins in Key Triggers Function Key [Accept] [Clear Form] [Create Record] [Delete Record] [Exit Form] Key Trigger Key-Commit Key-Clrfrm Key-Crerec Key-Delrec Key-Exit Built-in COMMIT_FORM CLEAR_FORM CREATE_RECORD DELETE_RECORD EXIT_FORM; http://ebiztechnics.blogspot.com
  • 6. Types of Key Triggers • Function key triggers • Key-Fn triggers and Oracle Terminal • Key-Others triggers • Oracle Terminal Used for mapping keys. • Key mappings are done in following Resource files: – Client/Server FMRUSW.RES – Web mode FMRWEB.RES http://ebiztechnics.blogspot.com
  • 7. Mouse-event key triggers • Key-Next-Item • Key-Prev-Item • Key-Nxtrec • Key-Prvrec • Key-Up • Key-Down • Key-Scrup • Key-Scrdown • Key-Nxtblk • Key-Prvblk http://ebiztechnics.blogspot.com
  • 8. Using Key Triggers • Adjust user interface • Disable a (set of) function keys • Replace or extend functionality of function keys • Add additional function keys • Be careful with Key-Others • Do not use for validation http://ebiztechnics.blogspot.com
  • 9. Specific Uses of Key Triggers • Call an LOV form • Check for detail records before deleting a master record • Prevent duplication of the primary key • Adjust toolbar buttons for Enter Query mode http://ebiztechnics.blogspot.com
  • 10. Associating with other Interface Controls • DO_KEY(’Key-Exit’) gives run-time error • Corresponding interface control descriptions In When-Button-Pressed and Menu item code: DO_KEY(‘EXIT_FORM’); http://ebiztechnics.blogspot.com
  • 11. Summary • Define key triggers in order to – enhance keyboard functionality – replace keyboard key • Provide consistent functionality between Function keys, buttons, menu items, and mouse events • Define Key-Fn, Key-Others, and mouse-event key triggers http://ebiztechnics.blogspot.com

Editor's Notes

  • #4: What is a key trigger? A key trigger, like any other trigger, is a subprogram that is executed when a Certain event occurs. In the case of a key trigger, the event is pressing the Function key for which the trigger is defined. The trigger is usually named after The event that causes it to fire. When the key trigger is defined for a function Key, the usual functionality of the key is replaced by the PL/SQL text of the Trigger. In respect, key triggers resemble “on triggers”. Note: If you also want to execute the default functionality of the function Key, you must ensure that the key trigger includes the built-in function Associated with the key.
  • #8: Technical Note Since mouse-event key triggers are not executed when the mouse is used to Initiate window interaction, you should not place code that needs to be executed Every time the window interaction occurs in a mouse-event key trigger.