SlideShare ist ein Scribd-Unternehmen logo
1 von 198
Forms 5.0 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Form Builder and Creation of Data Blocks ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],! !
Form Builder Environment ,[object Object],[object Object],[object Object],!
Form Builder Key Features ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],! @
Form Builder Executables Forms Builder Forms Runtime Forms Compiler Definitions Runfiles ! @ @
Form Builder Module MENUS FORMS LIBRARIES Developer /2000 Components Database ! @
Blocks, Items and Canvases Canvas 1 Canvas 2 Items Block A Block B Items ! @
Navigation in a Block ,[object Object],Canvas2 Items Items ! @
Data Blocks A B C D X Y Z A B C A B C Master Data Block Detail Data Block Table Table 1 2 3 4 5 6 1. Base Table  source  3. Trigger Access   5. Multirecord data  block 2. Single-record data block  4. Nonbase table source  6. Record !
Forms and Data Blocks Block 1 Block 2 Block 4 Block 3 Block 1 Block 1 Block 2 Block 1 Form A Form B Form C Open Form Open Form Multiple Form Modules Single Form Module ! @
Form Module Hierarchy !
Creating a New Form Module Set object properties Create a New Module Create datablock  items Fine- tune layout Add code Test for module !
Form Module Properties !
Creating a New Module ,[object Object],[object Object],[object Object],[object Object],!
Creating Data Block Items ,[object Object],[object Object],[object Object],[object Object],[object Object],!
Fine tune layout ,[object Object],[object Object],[object Object],!
Set object properties ,[object Object],[object Object],!
Add Code ,[object Object],[object Object],[object Object],!
Test for Module ,[object Object],[object Object],[object Object],[object Object],!
Saving a Form Module ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],! @
Data Block Functionality ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Compiling the Form Module ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],! @
Module Types .FMB .FMX .FMT .MMB .MMX .MMT .PLL .PLX .PLD FORM MODULE MENU MODULE PL/SQL LIBRARY ! @
Form Block Relationships MASTER MASTER MASTER DETAIL DETAIL DETAIL DETAIL DETAIL !
Relation Object ,[object Object],[object Object],[object Object],[object Object],! @
Running A Master-Detail Form Module ,[object Object],[object Object],[object Object],[object Object],[object Object],!
Working with Data Blocks and Frames ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Modifying the Appearance and Behaviour of Data Blocks ,[object Object],[object Object],[object Object],[object Object],!
Displaying the Property Palette Toolbar Expand/Collapse Property Name Find field Search Backward Search Forward Property Value !
Visual Attributes ,[object Object],[object Object],[object Object],[object Object],[object Object],!
Data Block Properties !
Data Block Property groups ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Navigation Properties BOOKS Items Previous navigation Data block Same Record Next Record   !
Database Properties ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Vertical Record Orientation Number of Records Displayed Current record Item !
Horizontal Record Orientation Items Number of records displayed Current Record !
Scrollbar Properties Item Scroll bar X/Y position Scroll bar height Scroll bar width !
Frame Properties Distance between Records Form Layout Style Member Tabular Layout Style Member Details !
Creating a Control Block ,[object Object],[object Object],[object Object],[object Object],[object Object],!
Deleting a Data block ,[object Object],[object Object],[object Object],[object Object],[object Object],!
Items ..an important attribute ,[object Object],[object Object],[object Object],[object Object],!
Text Items ,[object Object],[object Object],[object Object],[object Object],!
Modifying the Appearance of a Text Item ,[object Object],[object Object],[object Object],Distance between two records No. of items displayed !
Prompts ,[object Object],[object Object],[object Object],!
Format Masks ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],! @
Navigational Behaviour of Text Items ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Database Properties ,[object Object],[object Object],[object Object],[object Object],!
Functional Properties ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Conceal Data Property LOG SCREEN Enter Userid  : Enter Password  : scott ***** !
Keyboard Navigable and Enabled Properties ,[object Object],[object Object],[object Object],!
Hint and ToolTip Properties Tooltip Hint ! @
Creating Additional Input Items ,[object Object],[object Object],[object Object],[object Object],!
Other Input Items ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Check Boxes ,[object Object],[object Object],[object Object],[object Object],! @
Creating a Check Box ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Creating a Check Box !
List Items ,[object Object],[object Object],[object Object],[object Object],!
List Item Specific Properties ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],! @
List Styles Excellent Excellent Excellent Good Poor Poplist Tlist Combo Box !
Radio Groups ,[object Object],[object Object],[object Object],[object Object],[object Object],! @
Creating a Radio Group ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Creating Non-Input Items ,[object Object],[object Object],[object Object],[object Object],[object Object],!
Non-Input Items ,[object Object],[object Object],[object Object],[object Object],[object Object],! @
Display Items ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],! @
Creating a Display Item !
Image Items ,[object Object],[object Object],[object Object],[object Object],!
Image Specific Item Properties ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Buttons ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Buttons ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Button Specific Item Properties ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Creating a Button !
Calculated Fields ,[object Object],[object Object],[object Object],[object Object],[object Object],!
Calculation Modes ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Item Properties Specific to the Calculated Field ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],! @
Items Based on Formula ,[object Object],[object Object],[object Object],[object Object],[object Object],Book id Book name Price Qty Total Cat 1 2 3 4 200 120 50 25 5 4 9 3 1000 480 450 75 Books NVL((:s_books.price * :s_books.qty),0) Formula Item !
Items Based on Summary ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Items Based on Summary Book id Book name Price No of copies Total 1 2 3 4 200 120 50 25 5 4 9 3 1000 480 450 75 Books Summarised Item Total Price 2,005 Summary Item !
Creating LOVs and Editors ,[object Object],[object Object],[object Object],!
LOVs and Editors ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],! @
LOVs Book Name Author Name select bookname, authorname from books ; Books Table Books record group Books LOV !
New LOV !
LOV Queries ,[object Object],[object Object],[object Object],[object Object],! @
LOV Properties Column mapping (X,Y) Height Width Return Items Automatic Display Automatic Skip LOV Automatic column width Filter before display Automatic select ! @
LOV Column Mapping Book Name Author Name select bookname, book_id,authorname from books; Books table Books record group Books LOV Book id Book id Tc0001 St0002 Hidden columns Book Name Author Name   ! @
Editors ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Creating Windows and Canvases ,[object Object],[object Object],[object Object],[object Object],[object Object],!
Creating Windows and Canvases ,[object Object],[object Object],[object Object],[object Object],[object Object],!
Windows and Canvases ,[object Object],[object Object],[object Object],[object Object],[object Object],!
Window, Canvas and Viewport Document Window MDI Parent Window Canvas ! @
Content Canvas ,[object Object],[object Object],[object Object],[object Object],!
Windows ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Window Properties MDI Parent Window X/Y Position Title Document Window Dialog Window Vertical Scrollbar Horizontal Scrollbar !
GUI Hints ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Creating a Content Canvas ,[object Object],[object Object],[object Object],[object Object],[object Object],!
Content Canvas Properties Viewport X/Y Position on Canvas Canvas Viewport Height Width !
Canvas Types Content Canvas Content Canvas Stacked Canvas Horizontal Toolbar Tab Tab Canvas !
Stacked Canvas ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],! @
Stacked Canvas Properties Content Canvas Stacked  Canvas Viewport X/Y position Viewport Height Viewport Width !
Toolbars ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Toolbar Related Properties ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Tab canvas ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Tab Canvas Related Properties Viewport X/Y position Tab attachment edge Viewport Height Viewport Width !
Introduction to Triggers ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Form Builder Triggers PL/SQL PL/SQL PL/SQL Queries Validation Navigation Interaction Internal Events Errors/Messages Others Event Fire Trigger Types !
Scope of a Trigger Scope Code Type ,[object Object],[object Object],[object Object],[object Object],Pre- Post- When- On- Key- Statements PL/SQL User subprograms Built-in subprograms !
Scope of a Trigger Item Level (ON-MESSAGE) Block Level (ON-MESSAGE) Form Level (ON-MESSAGE) ! @
Scope of a Trigger ,[object Object],[object Object],[object Object],!
Creating a trigger !
Trigger Properties General Functional Help !
Trigger PL/SQL Blocks BEGIN END ; !
Variables in Form Builder ,[object Object],[object Object],[object Object],[object Object],[object Object],!
Form Builder Variables ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],! @
Form Builder Built-in Sub-programs ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Useful Built-ins ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],! @
Standard Built-ins !
When-Button-Pressed trigger ,[object Object],[object Object],[object Object],[object Object],Show Books GO_BLOCK(‘Books’); EXECUTE_QUERY; !
Functionality used in Triggers ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Item Interaction Triggers When-Button-Pressed When-Checkbox-Changed When-Radio-Changed When-Image-Pressed When-Image-Activated When-List-Changed When-List-Activated !
Coding Item Interaction Triggers ,[object Object],[object Object],[object Object],[object Object],[object Object],!
Example of When-Image Activated BEGIN READ_IMAGE_FILE ('C:rantoolsoc20uide21ifsookicon.gif’   , 'GIF’, 'BEGIN.IMAGE’ ); END; !
Runform Messages and Alerts System Alerts Application Messages Informative Error Working Application !
Detecting Runtime Errors ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Errors and Built-ins ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Message Severity Levels ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],System.MESSAGE_LEVEL := severity level System.SUPPRESS_WORKING := ‘TRUE’ ! @
Error Triggers ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Alerts Title Message Alert Style - (1) Caution Button1 Button2 Alert Styles (2)  Stop (3)  Informative messages !
Built-ins with Alerts ,[object Object],[object Object],[object Object],!
Query Triggers Fire PRE-QUERY trigger Fetch A Row Into A New record Mark Record As valid Fire POST-QUERY trigger Validate any Record Changes Perform Query Construct SELECT….. Abort query on failure Flush record on failure Query Processing !
WHERE Clause ,[object Object],[object Object],[object Object],[object Object],[object Object],!
ORDER Clause ,[object Object],[object Object],[object Object],[object Object],!
Pre_Query, Post_Query  Triggers ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Using SELECT Statements in Triggers ,[object Object],[object Object],[object Object],[object Object],[object Object],! @
Coding For ENTER-QUERY Mode ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Triggers firing in Enter-Query Mode ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Overriding Default Query Processing ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Obtaining Query Information at Runtime ,[object Object],[object Object],[object Object],[object Object],!
Obtaining Query Information at Runtime ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Obtaining Query Information at Runtime ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Validation ,[object Object],Form Level Block Level Record level Item level Item level ! @
Validation Unit Property !
Validation Triggers ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Tracking Validation Status ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Built-Ins for Validation  !
About Navigation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Navigation Properties ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Navigation Triggers Pre- and  Post- When New object Instance Fire during navigation Fire after navigation Does not fire if validation Does fire when validation  unit is larger than trigger  unit is larger than the  object trigger object Allows unrestricted  Allow restricted and built-ins unrestricted built-ins Handle failure by  Is not affected by failure returning to initial object ! @
When-New-’object’-Instance triggers ,[object Object],[object Object],[object Object],[object Object],!
The Pre- and Post-Triggers ,[object Object],[object Object],[object Object],[object Object],!
Using Pre and Post Triggers Trigger Type Use to Pre-Form Pre-Block Validate - User, Time of  day Initialize control blocks - Call another form to display messages Post-Form Perform housekeeping - erase global variables Before exit - Display messages to user Authorize access to the block Post-Block Validate the last record that had input focus  Test a condition and prevent the user from leaving Pre-Record Set global variables Post-Record Clear global variables - Set a visual attribute for an item as the user  scrolls down through a set of records. Perform cross field validation Pre-Text-Item Post-Text-Item Derive a complex default value.  Record the previous value of a text item Calculate or change item values ! @
Post-Block Triggers Example ,[object Object],[object Object],[object Object],!
Navigation in Triggers Built-in routines for Navigation Function GO_FORM Navigates to an open form (in a multiple fprm application) GO_BLOCK Navigates to an indicated block Navigates to an indicated item Navigates to a specific record GO_ITEM GO_RECORD NEXT_BLOCK Navigates to the next enterable block NEXT_ITEM Navigates to the next enterable item NEXT_RECORD Navigates to the first enterable item in the next record NEXT_SET Fetches another set of records from the database and navigates to the  first record that the fetch retrieves UP Navigates to the instance of  the current item in the previous record DOWN Navigates to the instance of  the current item in the next record PREVIOUS_BLOCK Navigates to the previous enterable block PREVIOUS_ITEM Navigates to the previous enterable item PREVIOUS_RECORD Navigates to the previous enterable record SCROLL_UP SCROLL_DOWN Scrolls the block so that the records above the top visible one display  Scrolls the block so that the records below the bottom visible one display  ! @
Transaction Processing ,[object Object],[object Object],[object Object],[object Object],!
Transaction Processing ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
The Commit Sequence of Events Validate the form Pre-Commit Validate the block Pre-Delete Delete Row On-Delete Post-Delete 1 2 More records? Contd. !
The Commit Sequence of Events Copy value from item Pre-Update Check uniqueness Insert row On- Insert Post-Insert 1 2 More blocks? INSERT UPDATE More records? Pre-Insert Check uniqueness Update row On-Update Post-Update Post-Forms-Commit Commit changes Post-Database-Commit STOP !
Characteristics of Commit triggers ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Commit Trigger Uses !
Testing the result of Trigger DML ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
DML Statements Issued During Commit Processing ,[object Object],[object Object],[object Object],[object Object],[object Object],!
Overriding Default Transaction Additional Transactional Triggers Trigger Do-the-right-thing Built-in On-Check-Unique On-Column-Security On-Commit On-Rollback On-Savepoint On-Sequence-Number CHECK_RECORD_UNIQUENESS ENFORCE_COLUMN_SECURITY COMMIT_FORM ISSUE_ROLLBACK ISSUE_SAVEPOINT GENERATE_SEQUENCE_NUMBER !
Overriding Default Transaction Transactional Triggers for logging on and off Trigger Do-the-right-thing Built-in Pre-Logon Pre-Logout On-Logon On-Logout Post-Logon Post-Logout - - LOGON LOGOUT - - !
Running with non-Oracle Data sources ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Getting and Setting Commit Status ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],! @
Getting and Setting the Commit Status ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Implementing Array DML ,[object Object],[object Object],[object Object],[object Object],[object Object],! @
Writing Flexible Code, Sharing Objects and Code and Introduction to Multiple Form Applications ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Flexible Code ,[object Object],[object Object],[object Object],[object Object],[object Object],!
System Variables for current Context ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
System Status Variables ,[object Object],[object Object],[object Object],[object Object],[object Object],!
GET_”object”_PROPERTY ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
GET_”object”_PROPERTY ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
SET_”object”_PROPERTY ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
SET_”object”_PROPERTY ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
FIND_Built-Ins ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Using Object IDs ,[object Object],[object Object],[object Object],[object Object],DECLARE item_var item; BEGIN item_var := FIND_ITEM(:SYSTEM>CURSOR_ITEM); SET_ITEM_PROPERTY(item_var,position,30,35); SET_ITEM_PROPERTY(item_var,prompt_text,’Current’); END; !
Referencing Objects Indirectly Item A Item B Item A Item A thornbirds thornbirds Direct Reference Indirect Reference !
Referencing Objects Indirectly ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Sharing  Code ,[object Object],[object Object],[object Object],[object Object],!
Property Classes Canvas View Properties Relation Properties Item Properties LOV Properties Block Properties A property class is a named object that contains a list of properties and their settings ! @
Property Class Icons Add Property Delete Property Property Class Inherit Property !
Inherited and Variant Properties ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],! @
Inherited and Variant properties Property Palette Default property Default property Default property Property Palette Default property Default property Changed property Property Palette Inherited property Inherited property Inherited property Property Class Apply Change Change Inherit Property Palette Inherited property Inherited property Inherited property !
Inheriting Properties ,[object Object],[object Object],[object Object],!
Object Group ,[object Object],[object Object],[object Object],[object Object],!
Using Object Groups ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Copying Objects Bookname Author name Price Bookname Author name Price Ability to make an exact copy of the object !
What Is Subclassing? Bookname Author name Price Bookname Author name Price Ability to make an exact copy of the object Bookname Author name Price Category Book-id Ability to add  properties to an object !
Subclassing Bookname Author name Price Bookname Author name Price Ability to make exact copy of object Bookname Author name Price Category Book-id Ability to add to object Bookname Author name Price Ability to alter properties !
Inheriting Changes Bookname Author name Price Bookname Author name Price Bookname Author name Price Category Book-id Ability to inherit changes Bookname Author name Price Making changes to parent Ability to inherit changes Ability to inherit changes !
What Is an Object Library? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
SmartClass ,[object Object],[object Object],[object Object],[object Object],!
PL/SQL Libraries ,[object Object],[object Object],[object Object],[object Object],!
Creating Library Program Units and attaching Libraries !
Multiple Form Applications ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Multiple Form Session Global Variables Form A Form D Form B Form C Forms Runtime Open Open Open !
Opening Another Form ,[object Object],[object Object],[object Object],[object Object],!
Opening Another Form ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],!
Closing a Form with EXIT_FORM ,[object Object],[object Object],[object Object],[object Object],[object Object],!

Weitere ähnliche Inhalte

Was ist angesagt?

Technical architecture for order management
Technical architecture for order managementTechnical architecture for order management
Technical architecture for order management
Mohit kumar Gupta
 
Oracle apps-interview-questions
Oracle apps-interview-questionsOracle apps-interview-questions
Oracle apps-interview-questions
Pakeera Mekala
 

Was ist angesagt? (20)

Oracle Forms Tutorial
Oracle Forms TutorialOracle Forms Tutorial
Oracle Forms Tutorial
 
Oracle Forms- key triggers
Oracle Forms- key triggersOracle Forms- key triggers
Oracle Forms- key triggers
 
Oracle Forms : Multiple Forms
Oracle Forms : Multiple FormsOracle Forms : Multiple Forms
Oracle Forms : Multiple Forms
 
Oracle Forms : Validation Triggers
Oracle Forms : Validation TriggersOracle Forms : Validation Triggers
Oracle Forms : Validation Triggers
 
Oracle Forms Triggers
Oracle Forms TriggersOracle Forms Triggers
Oracle Forms Triggers
 
Oracle Forms : Query Triggers
Oracle Forms : Query TriggersOracle Forms : Query Triggers
Oracle Forms : Query Triggers
 
Forms 6i guide
Forms 6i guideForms 6i guide
Forms 6i guide
 
Oracle Forms Triggers
Oracle Forms TriggersOracle Forms Triggers
Oracle Forms Triggers
 
Oracle forms personalization
Oracle forms personalizationOracle forms personalization
Oracle forms personalization
 
Oracle report from ppt
Oracle report from pptOracle report from ppt
Oracle report from ppt
 
Oracle Apps Technical – Short notes on RICE Components.
Oracle Apps Technical – Short notes on RICE Components.Oracle Apps Technical – Short notes on RICE Components.
Oracle Apps Technical – Short notes on RICE Components.
 
Reports 6i
Reports 6iReports 6i
Reports 6i
 
Oracle Forms : Transnational Triggers
Oracle Forms : Transnational TriggersOracle Forms : Transnational Triggers
Oracle Forms : Transnational Triggers
 
oracle-reports6i
oracle-reports6ioracle-reports6i
oracle-reports6i
 
Oracle Forms Creation
Oracle Forms CreationOracle Forms Creation
Oracle Forms Creation
 
Technical architecture for order management
Technical architecture for order managementTechnical architecture for order management
Technical architecture for order management
 
Oracle apps-interview-questions
Oracle apps-interview-questionsOracle apps-interview-questions
Oracle apps-interview-questions
 
Oracle Forms Introduction
Oracle Forms IntroductionOracle Forms Introduction
Oracle Forms Introduction
 
Inventory in Oracle apps
Inventory in Oracle apps Inventory in Oracle apps
Inventory in Oracle apps
 
Oracle Forms Mouse triggers
Oracle Forms Mouse triggersOracle Forms Mouse triggers
Oracle Forms Mouse triggers
 

Ähnlich wie Oracle Forms Tutorial (www.aboutoracleapps.com) (20)

Oracle 10g Forms Lesson 6
Oracle 10g Forms Lesson  6Oracle 10g Forms Lesson  6
Oracle 10g Forms Lesson 6
 
Les06
Les06Les06
Les06
 
Visual Basic.pptx
Visual Basic.pptxVisual Basic.pptx
Visual Basic.pptx
 
Visual basic
Visual basicVisual basic
Visual basic
 
Les04
Les04Les04
Les04
 
forms
formsforms
forms
 
DOORS Tips and Tricks
DOORS Tips and TricksDOORS Tips and Tricks
DOORS Tips and Tricks
 
Grasping The LightSwitch Paradigm
Grasping The LightSwitch ParadigmGrasping The LightSwitch Paradigm
Grasping The LightSwitch Paradigm
 
Vb basic
Vb basicVb basic
Vb basic
 
Oracle 10g Forms Lesson 7
Oracle 10g Forms Lesson  7Oracle 10g Forms Lesson  7
Oracle 10g Forms Lesson 7
 
Les07
Les07Les07
Les07
 
Les04
Les04Les04
Les04
 
D2 k word_format
D2 k word_formatD2 k word_format
D2 k word_format
 
Tugas testing
Tugas testingTugas testing
Tugas testing
 
Oracle 10g Forms Lesson 10
Oracle 10g Forms Lesson 10Oracle 10g Forms Lesson 10
Oracle 10g Forms Lesson 10
 
Les10
Les10Les10
Les10
 
Les06
Les06Les06
Les06
 
Html forms
Html formsHtml forms
Html forms
 
Rational Publishing Engine with Rational DOORS
Rational Publishing Engine with Rational DOORSRational Publishing Engine with Rational DOORS
Rational Publishing Engine with Rational DOORS
 
Unit2
Unit2Unit2
Unit2
 

Kürzlich hochgeladen

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 

Kürzlich hochgeladen (20)

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 

Oracle Forms Tutorial (www.aboutoracleapps.com)

  • 1.
  • 2.
  • 3.
  • 4.
  • 5. Form Builder Executables Forms Builder Forms Runtime Forms Compiler Definitions Runfiles ! @ @
  • 6. Form Builder Module MENUS FORMS LIBRARIES Developer /2000 Components Database ! @
  • 7. Blocks, Items and Canvases Canvas 1 Canvas 2 Items Block A Block B Items ! @
  • 8.
  • 9. Data Blocks A B C D X Y Z A B C A B C Master Data Block Detail Data Block Table Table 1 2 3 4 5 6 1. Base Table source 3. Trigger Access 5. Multirecord data block 2. Single-record data block 4. Nonbase table source 6. Record !
  • 10. Forms and Data Blocks Block 1 Block 2 Block 4 Block 3 Block 1 Block 1 Block 2 Block 1 Form A Form B Form C Open Form Open Form Multiple Form Modules Single Form Module ! @
  • 12. Creating a New Form Module Set object properties Create a New Module Create datablock items Fine- tune layout Add code Test for module !
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23. Module Types .FMB .FMX .FMT .MMB .MMX .MMT .PLL .PLX .PLD FORM MODULE MENU MODULE PL/SQL LIBRARY ! @
  • 24. Form Block Relationships MASTER MASTER MASTER DETAIL DETAIL DETAIL DETAIL DETAIL !
  • 25.
  • 26.
  • 27.
  • 28.
  • 29. Displaying the Property Palette Toolbar Expand/Collapse Property Name Find field Search Backward Search Forward Property Value !
  • 30.
  • 32.
  • 33. Navigation Properties BOOKS Items Previous navigation Data block Same Record Next Record !
  • 34.
  • 35. Vertical Record Orientation Number of Records Displayed Current record Item !
  • 36. Horizontal Record Orientation Items Number of records displayed Current Record !
  • 37. Scrollbar Properties Item Scroll bar X/Y position Scroll bar height Scroll bar width !
  • 38. Frame Properties Distance between Records Form Layout Style Member Tabular Layout Style Member Details !
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.
  • 44.
  • 45.
  • 46.
  • 47.
  • 48.
  • 49. Conceal Data Property LOG SCREEN Enter Userid : Enter Password : scott ***** !
  • 50.
  • 51. Hint and ToolTip Properties Tooltip Hint ! @
  • 52.
  • 53.
  • 54.
  • 55.
  • 57.
  • 58.
  • 59. List Styles Excellent Excellent Excellent Good Poor Poplist Tlist Combo Box !
  • 60.
  • 61.
  • 62.
  • 63.
  • 64.
  • 66.
  • 67.
  • 68.
  • 69.
  • 70.
  • 72.
  • 73.
  • 74.
  • 75.
  • 76.
  • 77. Items Based on Summary Book id Book name Price No of copies Total 1 2 3 4 200 120 50 25 5 4 9 3 1000 480 450 75 Books Summarised Item Total Price 2,005 Summary Item !
  • 78.
  • 79.
  • 80. LOVs Book Name Author Name select bookname, authorname from books ; Books Table Books record group Books LOV !
  • 82.
  • 83. LOV Properties Column mapping (X,Y) Height Width Return Items Automatic Display Automatic Skip LOV Automatic column width Filter before display Automatic select ! @
  • 84. LOV Column Mapping Book Name Author Name select bookname, book_id,authorname from books; Books table Books record group Books LOV Book id Book id Tc0001 St0002 Hidden columns Book Name Author Name ! @
  • 85.
  • 86.
  • 87.
  • 88.
  • 89. Window, Canvas and Viewport Document Window MDI Parent Window Canvas ! @
  • 90.
  • 91.
  • 92. Window Properties MDI Parent Window X/Y Position Title Document Window Dialog Window Vertical Scrollbar Horizontal Scrollbar !
  • 93.
  • 94.
  • 95. Content Canvas Properties Viewport X/Y Position on Canvas Canvas Viewport Height Width !
  • 96. Canvas Types Content Canvas Content Canvas Stacked Canvas Horizontal Toolbar Tab Tab Canvas !
  • 97.
  • 98. Stacked Canvas Properties Content Canvas Stacked Canvas Viewport X/Y position Viewport Height Viewport Width !
  • 99.
  • 100.
  • 101.
  • 102. Tab Canvas Related Properties Viewport X/Y position Tab attachment edge Viewport Height Viewport Width !
  • 103.
  • 104. Form Builder Triggers PL/SQL PL/SQL PL/SQL Queries Validation Navigation Interaction Internal Events Errors/Messages Others Event Fire Trigger Types !
  • 105.
  • 106. Scope of a Trigger Item Level (ON-MESSAGE) Block Level (ON-MESSAGE) Form Level (ON-MESSAGE) ! @
  • 107.
  • 109. Trigger Properties General Functional Help !
  • 110. Trigger PL/SQL Blocks BEGIN END ; !
  • 111.
  • 112.
  • 113.
  • 114.
  • 116.
  • 117.
  • 118. Item Interaction Triggers When-Button-Pressed When-Checkbox-Changed When-Radio-Changed When-Image-Pressed When-Image-Activated When-List-Changed When-List-Activated !
  • 119.
  • 120. Example of When-Image Activated BEGIN READ_IMAGE_FILE ('C:rantoolsoc20uide21ifsookicon.gif’ , 'GIF’, 'BEGIN.IMAGE’ ); END; !
  • 121. Runform Messages and Alerts System Alerts Application Messages Informative Error Working Application !
  • 122.
  • 123.
  • 124.
  • 125.
  • 126. Alerts Title Message Alert Style - (1) Caution Button1 Button2 Alert Styles (2) Stop (3) Informative messages !
  • 127.
  • 128. Query Triggers Fire PRE-QUERY trigger Fetch A Row Into A New record Mark Record As valid Fire POST-QUERY trigger Validate any Record Changes Perform Query Construct SELECT….. Abort query on failure Flush record on failure Query Processing !
  • 129.
  • 130.
  • 131.
  • 132.
  • 133.
  • 134.
  • 135.
  • 136.
  • 137.
  • 138.
  • 139.
  • 141.
  • 142.
  • 143.
  • 144.
  • 145.
  • 146. Navigation Triggers Pre- and Post- When New object Instance Fire during navigation Fire after navigation Does not fire if validation Does fire when validation unit is larger than trigger unit is larger than the object trigger object Allows unrestricted Allow restricted and built-ins unrestricted built-ins Handle failure by Is not affected by failure returning to initial object ! @
  • 147.
  • 148.
  • 149. Using Pre and Post Triggers Trigger Type Use to Pre-Form Pre-Block Validate - User, Time of day Initialize control blocks - Call another form to display messages Post-Form Perform housekeeping - erase global variables Before exit - Display messages to user Authorize access to the block Post-Block Validate the last record that had input focus Test a condition and prevent the user from leaving Pre-Record Set global variables Post-Record Clear global variables - Set a visual attribute for an item as the user scrolls down through a set of records. Perform cross field validation Pre-Text-Item Post-Text-Item Derive a complex default value. Record the previous value of a text item Calculate or change item values ! @
  • 150.
  • 151. Navigation in Triggers Built-in routines for Navigation Function GO_FORM Navigates to an open form (in a multiple fprm application) GO_BLOCK Navigates to an indicated block Navigates to an indicated item Navigates to a specific record GO_ITEM GO_RECORD NEXT_BLOCK Navigates to the next enterable block NEXT_ITEM Navigates to the next enterable item NEXT_RECORD Navigates to the first enterable item in the next record NEXT_SET Fetches another set of records from the database and navigates to the first record that the fetch retrieves UP Navigates to the instance of the current item in the previous record DOWN Navigates to the instance of the current item in the next record PREVIOUS_BLOCK Navigates to the previous enterable block PREVIOUS_ITEM Navigates to the previous enterable item PREVIOUS_RECORD Navigates to the previous enterable record SCROLL_UP SCROLL_DOWN Scrolls the block so that the records above the top visible one display Scrolls the block so that the records below the bottom visible one display ! @
  • 152.
  • 153.
  • 154. The Commit Sequence of Events Validate the form Pre-Commit Validate the block Pre-Delete Delete Row On-Delete Post-Delete 1 2 More records? Contd. !
  • 155. The Commit Sequence of Events Copy value from item Pre-Update Check uniqueness Insert row On- Insert Post-Insert 1 2 More blocks? INSERT UPDATE More records? Pre-Insert Check uniqueness Update row On-Update Post-Update Post-Forms-Commit Commit changes Post-Database-Commit STOP !
  • 156.
  • 158.
  • 159.
  • 160. Overriding Default Transaction Additional Transactional Triggers Trigger Do-the-right-thing Built-in On-Check-Unique On-Column-Security On-Commit On-Rollback On-Savepoint On-Sequence-Number CHECK_RECORD_UNIQUENESS ENFORCE_COLUMN_SECURITY COMMIT_FORM ISSUE_ROLLBACK ISSUE_SAVEPOINT GENERATE_SEQUENCE_NUMBER !
  • 161. Overriding Default Transaction Transactional Triggers for logging on and off Trigger Do-the-right-thing Built-in Pre-Logon Pre-Logout On-Logon On-Logout Post-Logon Post-Logout - - LOGON LOGOUT - - !
  • 162.
  • 163.
  • 164.
  • 165.
  • 166.
  • 167.
  • 168.
  • 169.
  • 170.
  • 171.
  • 172.
  • 173.
  • 174.
  • 175.
  • 176. Referencing Objects Indirectly Item A Item B Item A Item A thornbirds thornbirds Direct Reference Indirect Reference !
  • 177.
  • 178.
  • 179. Property Classes Canvas View Properties Relation Properties Item Properties LOV Properties Block Properties A property class is a named object that contains a list of properties and their settings ! @
  • 180. Property Class Icons Add Property Delete Property Property Class Inherit Property !
  • 181.
  • 182. Inherited and Variant properties Property Palette Default property Default property Default property Property Palette Default property Default property Changed property Property Palette Inherited property Inherited property Inherited property Property Class Apply Change Change Inherit Property Palette Inherited property Inherited property Inherited property !
  • 183.
  • 184.
  • 185.
  • 186. Copying Objects Bookname Author name Price Bookname Author name Price Ability to make an exact copy of the object !
  • 187. What Is Subclassing? Bookname Author name Price Bookname Author name Price Ability to make an exact copy of the object Bookname Author name Price Category Book-id Ability to add properties to an object !
  • 188. Subclassing Bookname Author name Price Bookname Author name Price Ability to make exact copy of object Bookname Author name Price Category Book-id Ability to add to object Bookname Author name Price Ability to alter properties !
  • 189. Inheriting Changes Bookname Author name Price Bookname Author name Price Bookname Author name Price Category Book-id Ability to inherit changes Bookname Author name Price Making changes to parent Ability to inherit changes Ability to inherit changes !
  • 190.
  • 191.
  • 192.
  • 193. Creating Library Program Units and attaching Libraries !
  • 194.
  • 195. Multiple Form Session Global Variables Form A Form D Form B Form C Forms Runtime Open Open Open !
  • 196.
  • 197.
  • 198.