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 : Validation Triggers
PPT
Oracle Forms : Transnational Triggers
PPT
Oracle Forms Triggers
PPT
Oracle Forms Triggers
PPT
Oracle Forms : Query Triggers
PPT
Oracle Forms: create debug triggers
PPT
Oracle Forms : Multiple Forms
PPT
Oracle Forms-Canvas types
Oracle Forms : Validation Triggers
Oracle Forms : Transnational Triggers
Oracle Forms Triggers
Oracle Forms Triggers
Oracle Forms : Query Triggers
Oracle Forms: create debug triggers
Oracle Forms : Multiple Forms
Oracle Forms-Canvas types

What's hot (20)

PPT
Oracle Apps - Forms
PPT
Oracle Forms : Reusable Components
PPT
Oracle Forms Creation-List of Values (LOV)
PPT
Oracle Forms Introduction
PPT
Oracle Forms : Coding ..
PPT
Oracle Forms Creation
PPT
Oracle Forms: Data Blocks on Different Sources
PPT
Oracle Forms: Introduction to multiple Forms
PPT
Oracle Forms: Messages
PPT
Oracle Forms: Master Detail form
PPT
Oracle Forms :Window and Canvases
PPT
Oracle Forms Mouse triggers
PDF
Oracle Form material
PPT
Oracle Forms: Non input Items
PDF
Oracle Forms Tutorial
DOCX
Oracle inventory R12 Setup Guide
PDF
Oracle forms personalization
PDF
Oracle Fixed assets ivas
PDF
Oracle Inventory – Inventory Controls
PPT
Oracle Forms: Menu
Oracle Apps - Forms
Oracle Forms : Reusable Components
Oracle Forms Creation-List of Values (LOV)
Oracle Forms Introduction
Oracle Forms : Coding ..
Oracle Forms Creation
Oracle Forms: Data Blocks on Different Sources
Oracle Forms: Introduction to multiple Forms
Oracle Forms: Messages
Oracle Forms: Master Detail form
Oracle Forms :Window and Canvases
Oracle Forms Mouse triggers
Oracle Form material
Oracle Forms: Non input Items
Oracle Forms Tutorial
Oracle inventory R12 Setup Guide
Oracle forms personalization
Oracle Fixed assets ivas
Oracle Inventory – Inventory Controls
Oracle Forms: Menu
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

Similar to Oracle Forms- key triggers (20)

PPT
Oracle 10g Forms Lesson 15
PPT
PPTX
Part4 Influencing Execution Plans with Optimizer Hints
DOC
Oracle forms 6_i__1_
PPT
Oracle forms les14
PPT
11303 dbms chap_02_triggers (2)
PDF
User Interface Design Module 5 screen based controls
PPT
Triggers n Cursors.ppt
PPTX
triggers.pptx
PDF
RPA Summer School Studio Session 3 AMER: Introduction to Ui Automation
DOCX
PPTX
unit 5-Screen based controls-USER INTERFACE DESIGN
PPTX
Exceptions Triggers function in SQL by Vasant Bhabad
PDF
AutoCorrect - Excel 2013 Tutorial
PPTX
Triggers.PPTX
PPTX
Application engine
PDF
🌺 Women in Automation Program: Become an RPA Developer with UiPath Studio Ses...
PDF
Women in Automation 2023- UiPath Studio Session 2.pdf
PPTX
java.pptx
PPT
Labels and buttons
Oracle 10g Forms Lesson 15
Part4 Influencing Execution Plans with Optimizer Hints
Oracle forms 6_i__1_
Oracle forms les14
11303 dbms chap_02_triggers (2)
User Interface Design Module 5 screen based controls
Triggers n Cursors.ppt
triggers.pptx
RPA Summer School Studio Session 3 AMER: Introduction to Ui Automation
unit 5-Screen based controls-USER INTERFACE DESIGN
Exceptions Triggers function in SQL by Vasant Bhabad
AutoCorrect - Excel 2013 Tutorial
Triggers.PPTX
Application engine
🌺 Women in Automation Program: Become an RPA Developer with UiPath Studio Ses...
Women in Automation 2023- UiPath Studio Session 2.pdf
java.pptx
Labels and buttons

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: Record Groups
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: Record Groups

Recently uploaded (20)

PDF
iTop VPN 6.5.0 Crack + License Key 2025 (Premium Version)
PDF
AutoCAD Professional Crack 2025 With License Key
PDF
How AI/LLM recommend to you ? GDG meetup 16 Aug by Fariman Guliev
PDF
Nekopoi APK 2025 free lastest update
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PPTX
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
PDF
iTop VPN Crack Latest Version Full Key 2025
PPTX
CHAPTER 2 - PM Management and IT Context
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Digital Systems & Binary Numbers (comprehensive )
PPTX
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
PDF
Download FL Studio Crack Latest version 2025 ?
PDF
Designing Intelligence for the Shop Floor.pdf
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PDF
CCleaner Pro 6.38.11537 Crack Final Latest Version 2025
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PPTX
Patient Appointment Booking in Odoo with online payment
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PPTX
Monitoring Stack: Grafana, Loki & Promtail
iTop VPN 6.5.0 Crack + License Key 2025 (Premium Version)
AutoCAD Professional Crack 2025 With License Key
How AI/LLM recommend to you ? GDG meetup 16 Aug by Fariman Guliev
Nekopoi APK 2025 free lastest update
Odoo Companies in India – Driving Business Transformation.pdf
Navsoft: AI-Powered Business Solutions & Custom Software Development
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
iTop VPN Crack Latest Version Full Key 2025
CHAPTER 2 - PM Management and IT Context
Operating system designcfffgfgggggggvggggggggg
Digital Systems & Binary Numbers (comprehensive )
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
Download FL Studio Crack Latest version 2025 ?
Designing Intelligence for the Shop Floor.pdf
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
CCleaner Pro 6.38.11537 Crack Final Latest Version 2025
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Patient Appointment Booking in Odoo with online payment
Design an Analysis of Algorithms II-SECS-1021-03
Monitoring Stack: Grafana, Loki & Promtail

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.