SlideShare a Scribd company logo
Introduction to Triggers
Objectives After completing this lesson, you should be able to do the following: Define triggers Identify the different trigger categories Plan the type and scope of triggers in a form Describe the properties that affect the behavior of a trigger
Trigger Overview Event Trigger types Queries Validation Navigation Interaction Internal event Errors/Messages Others PL/SQL Fire PL/SQL PL/SQL Which trigger would you use to perform complex calculations  after a user enters data into an item?
Grouping Triggers into Categories Triggers may be grouped into functional categories: Block processing triggers Interface event triggers Master-detail triggers Message handling triggers Navigational triggers Query-time triggers Transactional triggers Validation triggers Triggers may be grouped into categories based on name: When-Event triggers On-Event triggers Pre-Event triggers Post-Event triggers Key triggers
 
Defining Trigger Components What event? What action? What level? Type Code Scope
Trigger Type Pre- Post- When- On- Key- User-named What event? Type Code Scope
Trigger Type Forms Builder Trigger Types
Trigger Code Statements PL/SQL User  subprograms Built-in  subprograms Type Code Scope What action?
Trigger Scope Levels Form Block Item Code Scope Type What level?
Trigger Scope Event Event Event Order  Date
Specifying Execution Hierarchy Form   level Block   level Item   level On-Message On-Message On-Message On-Error On-Error EH = After EH = After EH = Before EH = Override 1 2 3 4 Event Event
 
Summary In this lesson, you should have learned that: Triggers are event-activated program units You can categorize triggers based on function or name to help you understand how they work Trigger components are: Type: Defines the event that fires the trigger Code: The actions a trigger performs Scope: Specifies the level (form, block, or item) at which the trigger is defined The Execution Hierarchy trigger property alters the firing sequence of a trigger

More Related Content

PPT
Oracle Forms- key triggers
PPT
Oracle Forms Triggers
ODP
PhpUnit & web driver
PPT
PPT
Selenium and The Grinder
ODP
Software testing tools
PPT
Software Testing - Tool support for testing (CAST) - Mazenet Solution
PDF
EasyTest Test Automation Tool Introduction
Oracle Forms- key triggers
Oracle Forms Triggers
PhpUnit & web driver
Selenium and The Grinder
Software testing tools
Software Testing - Tool support for testing (CAST) - Mazenet Solution
EasyTest Test Automation Tool Introduction

What's hot (17)

PPTX
Using Specflow for BDD
PPTX
Test Automation
PDF
Software testing tools
PPT
Silverlight2 Unit Testing Slides
PPTX
#1 unit testing
PDF
Open Source Software Testing Tools
PPTX
Selenium IDE and Extensions
PPT
ASP.NET Session 4
PPTX
Uft Basics
PPTX
Selenium ide1
PDF
Selenium - Introduction
PPT
Addmi 16.5-discovery troubleshooting
PPTX
Mocking
DOC
Automation using ibm rft
PPT
N Unit Presentation
PDF
Unit testing in Force.com platform
PDF
Selenium Handbook
Using Specflow for BDD
Test Automation
Software testing tools
Silverlight2 Unit Testing Slides
#1 unit testing
Open Source Software Testing Tools
Selenium IDE and Extensions
ASP.NET Session 4
Uft Basics
Selenium ide1
Selenium - Introduction
Addmi 16.5-discovery troubleshooting
Mocking
Automation using ibm rft
N Unit Presentation
Unit testing in Force.com platform
Selenium Handbook
Ad

Viewers also liked (13)

PPT
Oracle forms Lesson 15 debuging triggers
PPT
Oracle Forms :Window and Canvases
PPT
Oracle 10g Forms Lesson 15
PPT
Oracle 10g Forms Lesson 7
PPT
Oracle Forms: Non input Items
PPT
Oracle Forms-Canvas types
PPT
Oracle Forms: create debug triggers
PPT
Oracle 10g Forms Lesson 8
PPT
Oracle 10g Forms Lesson 6
PPT
Oracle 10g Forms Lesson 10
PPT
Oracle 10g Forms Lesson 11
PPT
Oracle Forms: Menu
PDF
Oracle forms developer 10g vol1
Oracle forms Lesson 15 debuging triggers
Oracle Forms :Window and Canvases
Oracle 10g Forms Lesson 15
Oracle 10g Forms Lesson 7
Oracle Forms: Non input Items
Oracle Forms-Canvas types
Oracle Forms: create debug triggers
Oracle 10g Forms Lesson 8
Oracle 10g Forms Lesson 6
Oracle 10g Forms Lesson 10
Oracle 10g Forms Lesson 11
Oracle Forms: Menu
Oracle forms developer 10g vol1
Ad

Similar to Oracle 10g Forms Lesson 13 (20)

PPT
Oracle forms les013
PPT
11303 dbms chap_02_triggers (2)
PDF
Triggers in PL introduction yo database s
PPTX
Triggers
PPTX
Multimedia Databases Concepts: Managing images, video, audio and beyond
PPSX
Sql triggers
PPTX
trigger dbms
PPTX
Triggers.PPTX
PPT
Trigger
PPTX
Introduction to triggers
PPTX
Relational Database Management System-- vivek singh
PPTX
PLSQL.pptxokokokoo9oooodjdjfjfjfjrjejrjrrjrj
PPTX
Advanced Topics on Database - Unit-3 AU17
PPTX
basicofunit-4-250728105436-7464afe1.pptx
PPTX
basicofunit-4-250728105436-7464afe1.pptx
PPTX
Basic information of unit-4 form of ppt.
PPT
10 Creating Triggers
PPT
Triggers n Cursors.ppt
PDF
Lecture Notes Unit5 chapter16 Trigger Creation
PDF
Triggers and active database
Oracle forms les013
11303 dbms chap_02_triggers (2)
Triggers in PL introduction yo database s
Triggers
Multimedia Databases Concepts: Managing images, video, audio and beyond
Sql triggers
trigger dbms
Triggers.PPTX
Trigger
Introduction to triggers
Relational Database Management System-- vivek singh
PLSQL.pptxokokokoo9oooodjdjfjfjfjrjejrjrrjrj
Advanced Topics on Database - Unit-3 AU17
basicofunit-4-250728105436-7464afe1.pptx
basicofunit-4-250728105436-7464afe1.pptx
Basic information of unit-4 form of ppt.
10 Creating Triggers
Triggers n Cursors.ppt
Lecture Notes Unit5 chapter16 Trigger Creation
Triggers and active database

Recently uploaded (20)

PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
cuic standard and advanced reporting.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
DOCX
The AUB Centre for AI in Media Proposal.docx
Dropbox Q2 2025 Financial Results & Investor Presentation
Chapter 3 Spatial Domain Image Processing.pdf
Programs and apps: productivity, graphics, security and other tools
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
sap open course for s4hana steps from ECC to s4
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
The Rise and Fall of 3GPP – Time for a Sabbatical?
Unlocking AI with Model Context Protocol (MCP)
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Building Integrated photovoltaic BIPV_UPV.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Understanding_Digital_Forensics_Presentation.pptx
cuic standard and advanced reporting.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Advanced methodologies resolving dimensionality complications for autism neur...
The AUB Centre for AI in Media Proposal.docx

Oracle 10g Forms Lesson 13

  • 2. Objectives After completing this lesson, you should be able to do the following: Define triggers Identify the different trigger categories Plan the type and scope of triggers in a form Describe the properties that affect the behavior of a trigger
  • 3. Trigger Overview Event Trigger types Queries Validation Navigation Interaction Internal event Errors/Messages Others PL/SQL Fire PL/SQL PL/SQL Which trigger would you use to perform complex calculations after a user enters data into an item?
  • 4. Grouping Triggers into Categories Triggers may be grouped into functional categories: Block processing triggers Interface event triggers Master-detail triggers Message handling triggers Navigational triggers Query-time triggers Transactional triggers Validation triggers Triggers may be grouped into categories based on name: When-Event triggers On-Event triggers Pre-Event triggers Post-Event triggers Key triggers
  • 5.  
  • 6. Defining Trigger Components What event? What action? What level? Type Code Scope
  • 7. Trigger Type Pre- Post- When- On- Key- User-named What event? Type Code Scope
  • 8. Trigger Type Forms Builder Trigger Types
  • 9. Trigger Code Statements PL/SQL User subprograms Built-in subprograms Type Code Scope What action?
  • 10. Trigger Scope Levels Form Block Item Code Scope Type What level?
  • 11. Trigger Scope Event Event Event Order Date
  • 12. Specifying Execution Hierarchy Form level Block level Item level On-Message On-Message On-Message On-Error On-Error EH = After EH = After EH = Before EH = Override 1 2 3 4 Event Event
  • 13.  
  • 14. Summary In this lesson, you should have learned that: Triggers are event-activated program units You can categorize triggers based on function or name to help you understand how they work Trigger components are: Type: Defines the event that fires the trigger Code: The actions a trigger performs Scope: Specifies the level (form, block, or item) at which the trigger is defined The Execution Hierarchy trigger property alters the firing sequence of a trigger