SlideShare a Scribd company logo
ISOM3260 
Database Design and Administration
Lab 6: Oracle Forms Developer IV –
search engine and insert multiple records
Agenda
Oracle Project
Analysis, Design
Implementation, 
Maintenance
Oracle Forms 
Developer
SQL Tools
Oracle Reports 
Developer and 
integration
Agenda
• Validation Triggers
• Multiple Datablocks in one canvas (VERY IMPORTANT!)
• Write a trigger to retrieve multiple records from the database
• Write a trigger to insert multiple records from the database
VERY IMPORTANT!
• Check the objects you 
just created belong to 
the dummy datablock
(drag the object back to 
the right place)
• Move the datablocks so 
that the datablock of 
the LOGIN page goes 
first
Why do we need validation triggers?
There are some instances
entered by users that are
not valid!!!!
5
Validation Triggers in Forms Developer
• Validation triggers ensure users insert correct 
values in the system
• Example: 
– Student_ID should be in 8‐characters
– Year should not exceed 5 and 
should not less than 0
6
Review the codes of Validation Triggers 
7
Multiple Datablocks in One Canvas
• An user interface involving data from more 
than one tables
• For example:
– Search engine
• Search keyword (Manual datablock)
• Results (Datablock that is created base on a table)
Illustration 1: Create a canvas with 
multiple datablocks (1)
Illustration 1: Create a canvas with 
multiple datablocks (2)
• Basic Steps
– Create a blank canvas
– Create a manual datablock for capturing search 
keyword
Illustration 1: Create a canvas with 
multiple datablocks (3)
• Basic Steps
– Create a datablock from COURSE table using 
Datablock Wizard
– Put the datablock on 
the existing canvas using
Layout Wizard
Forms Styles (1)
• Datablock can be presented in 2 different 
styles
• 2 Form Styles 
– Form Style
• For showing one instance 
– Tabular Style
• For showing multiple instances
Forms Styles (2)
Form Style
Tabular Style
Code Review (I)
• Search Engine
– Search engine code 
– Retrieve multiple records using FOR Loop
• View Detail
– Push button under Tabular style
Reference for: 
Search records, View order records, 
View shopping cart,  Logout (CLEAR_BLOCK 
command)
Code Review (II)
• Insert multiple student records
– Insert multiple records using Simple Loop
Reference for:
Make Purchase
Project Work
1. Search Engine
– A trigger that retrieves multiple records from Product 
table, given a particular search keyword
2. View product detail
– A trigger that retrieves product detail from Product table 
to the next page, given a Product ID
3. Add to shopping cart 
– A trigger that inserts Mem ID, Pro ID, Quantity into  
Shopping Cart Line table
4. Retrieve shopping cart
– A trigger that retrieves multiple records from Shopping 
Cart Line table, given a particular Mem_ID
• 5. Make Purchase 

More Related Content

PPT
Oracle Forms : Validation Triggers
PPT
Oracle Forms :Object Features In forms
PPT
Oracle Forms Triggers
PPT
Oracle Forms: Non input Items
PPT
Oracle Forms Creation-List of Values (LOV)
PPT
Oracle Forms : Reusable Components
PPT
Oracle Forms Triggers
PPT
Oracle Forms Creation
Oracle Forms : Validation Triggers
Oracle Forms :Object Features In forms
Oracle Forms Triggers
Oracle Forms: Non input Items
Oracle Forms Creation-List of Values (LOV)
Oracle Forms : Reusable Components
Oracle Forms Triggers
Oracle Forms Creation

What's hot (19)

PPT
Oracle Forms- key triggers
PDF
Evaluating web sites for accessibility with Firefox / Manchester Digital Acce...
PPT
PPTX
Self-Generating Test Artifacts for Selenium/WebDriver
PPTX
Functional UI Testing
PPTX
Making your user happy – how to create a perfect profile
PPT
Oracle 10g Forms Lesson 10
PPT
SAP CLM Change management and migration
PPT
PPT
PPT
ASP.NET Session 5
PPT
PDF
ASP.NET MVC 2.0
PDF
Testing Angular
PPTX
Real World Asp.Net WebApi Applications
PPTX
Bezlio - Server Administration and Security
PDF
Beyond Domino Designer
PPTX
How to get full power from WebApi
PPTX
Tech IT Easy x DevTalk : "Secure Your Coding with OWASP"
Oracle Forms- key triggers
Evaluating web sites for accessibility with Firefox / Manchester Digital Acce...
Self-Generating Test Artifacts for Selenium/WebDriver
Functional UI Testing
Making your user happy – how to create a perfect profile
Oracle 10g Forms Lesson 10
SAP CLM Change management and migration
ASP.NET Session 5
ASP.NET MVC 2.0
Testing Angular
Real World Asp.Net WebApi Applications
Bezlio - Server Administration and Security
Beyond Domino Designer
How to get full power from WebApi
Tech IT Easy x DevTalk : "Secure Your Coding with OWASP"
Ad

Viewers also liked (9)

PPT
the cb model
PPT
Oracle Forms: Master Detail form
PPT
Oracle Forms: Data Blocks on Different Sources
PPT
Oracle Forms Mouse triggers
PPT
Oracle Forms: Menu
PPT
Oracle Forms : Transnational Triggers
PPT
Oracle Forms : Query Triggers
PPTX
Oracle canvas 140604 2
DOCX
Quantitative exercise-toasty oven
the cb model
Oracle Forms: Master Detail form
Oracle Forms: Data Blocks on Different Sources
Oracle Forms Mouse triggers
Oracle Forms: Menu
Oracle Forms : Transnational Triggers
Oracle Forms : Query Triggers
Oracle canvas 140604 2
Quantitative exercise-toasty oven
Ad

More from welcometofacebook (20)

PDF
EVC exercise-novel motor oil
PDF
jones blair calculations
PDF
EVC exercise-odi case
PDF
cltv calculation-calyx corolla
PDF
consumer behavior(4210)
PDF
competing in a global market(4210)
PDF
promotion strategies(4210)
PDF
pricing strategies(4210)
PDF
PDF
distribution strategies calyx and corolla(4210)
PDF
distribution strategies(4210)
PDF
the birth of swatch(4210)
PDF
product and brand strategies(4210)
PDF
stp case jones blair(4210)
PDF
PDF
situational analysis(4210)
PDF
quantitative analysis(4210)
PDF
overview of marketing strategy(4210)
PDF
Class+3+ +quantitative+analysis+exercise+answer+key
PDF
CLTV exercise-Instyle
EVC exercise-novel motor oil
jones blair calculations
EVC exercise-odi case
cltv calculation-calyx corolla
consumer behavior(4210)
competing in a global market(4210)
promotion strategies(4210)
pricing strategies(4210)
distribution strategies calyx and corolla(4210)
distribution strategies(4210)
the birth of swatch(4210)
product and brand strategies(4210)
stp case jones blair(4210)
situational analysis(4210)
quantitative analysis(4210)
overview of marketing strategy(4210)
Class+3+ +quantitative+analysis+exercise+answer+key
CLTV exercise-Instyle

Recently uploaded (20)

PDF
composite construction of structures.pdf
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
OOP with Java - Java Introduction (Basics)
PPTX
Construction Project Organization Group 2.pptx
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PPTX
Geodesy 1.pptx...............................................
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
DOCX
573137875-Attendance-Management-System-original
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PDF
Well-logging-methods_new................
PPTX
Sustainable Sites - Green Building Construction
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
additive manufacturing of ss316l using mig welding
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
Foundation to blockchain - A guide to Blockchain Tech
composite construction of structures.pdf
Operating System & Kernel Study Guide-1 - converted.pdf
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
OOP with Java - Java Introduction (Basics)
Construction Project Organization Group 2.pptx
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Geodesy 1.pptx...............................................
CYBER-CRIMES AND SECURITY A guide to understanding
Automation-in-Manufacturing-Chapter-Introduction.pdf
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
573137875-Attendance-Management-System-original
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Model Code of Practice - Construction Work - 21102022 .pdf
Well-logging-methods_new................
Sustainable Sites - Green Building Construction
bas. eng. economics group 4 presentation 1.pptx
additive manufacturing of ss316l using mig welding
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
Foundation to blockchain - A guide to Blockchain Tech

database-canvas with multiple datablocks(database)