SlideShare ist ein Scribd-Unternehmen logo
1 von 32
Forms 6i

     By
Vinay Kumar



              1
Topics Covered
• Introduction to forms
• Components in forms
• Forms in Oracle Apps




                              2
Application Development in Forms

Two Parts in Forms Development
• Forms painting
  – Designing the layout of the forms
• Coding
  – Coding in Triggers and Lovs




                                        3
Major Components of a form
•   Canvas
•   Windows
•   Blocks
•   Items
•   PL/SQL blocks




                                   4
Canvas
• It’s the background on which you place the
  interface objects.
• Items in a block can be placed on different
  canvas views and can be displayed in different
  windows.
• Different Types of canvas are tab canvas stack
  canvas and content canvas


                                                   5
Windows
• A form can include any number of windows.
• A new form will by default have one window
  named window1.
• A window must be attached to a canvas.




                                               6
Block
• They are logical containers and have no
  physical representation in the form
• They are very similar to the tables in the
  database .
• Each block may or may not be connected to
  the database table .
• There are 2 types of blocks Control and
  Database block


                                               7
Block – Cont..
• Block connected to database(Table) is called a
  database block.User can query , update ,
  insert and delete data in the base table
  because of this direct relationship.
• Two blocks can be connected using Master-
  Detail relation ship.



                                                   8
Items - Basic building blocks of a form

• Types
  – Text Item: A single- or multi-line text box that
    supports a variety of data types, format masks,
    and editing capabilities.
  – Display Item: A read-only text box whose value
    must be fetched or assigned programmatically.
    Operators cannot navigate to a display item or
    edit the text it contains.


                                                       9
Cont..
– List Item: A List of choices displayed as either a
  drop-down List, a List box, or a combo box.
– Push Button: A rectangle with a text label or an
  icon graphic inside.
– Radio Group: A group of radio buttons, one of
  which is always selected.
– Check Box: A text label with a graphic state
  indicator that displays the current value as either
  checked or unchecked. Clicking on a check box
  toggles it to the opposite state.

                                                        10
Items – Cont..
•   Bean Areas
•   Chart Items
•   Image Items
•   Hierarchical Tree Item
•   User Area




                                 11
Triggers
• All the coding for a form is done in a trigger
• Triggers are defined/attached at three levels-Form level,
  Block level,Item level.
• Trigger contains one or more PL/SQL statements.
• There are triggers defined for all events and actions which
  can take place in a form
• Trigger names correspond to runtime events.
• A trigger must be attached to a specific object in the form,
  either an item, a block, or the form itself.




                                                                 12
Triggers Contd..
• Trigger types
   -- When Triggers
   -- Pre Triggers
   -- Post Triggers
   -- On Triggers
   -- Key Triggers



                                13
Triggering Sequence
When a form is Opened

•   Pre-Form
•   Pre-Block
•   Pre-Record
•   Pre-Text-Item
•   When-New-Form-Instance
•   When-New-Block-Instance
•   When-New-Record-Instance
•   When-New-Item-Instance


                               14
Contd..
When Form is closed
• Post-Text-Item
• Post-Record
• Post-Block
• Post-Form




                           15
Program Units
•   Procedure
•   Function
•   Package Spec
•   Package Body




                              16
Libraries
• Procedures and functions used across the
  forms
• It is a type of module (.PLL)
• Attaching libraries
• Can be accessed from forms, menus, libraries




                                                 17
Some other concepts
•   Alerts
•   LOV
•   Record Groups
•   Parameters




                                18
Tools in Forms Designer
• Object Navigator : The Object navigator displays each object you have
  created and allows you to navigate through the hierarchy
• Properties Palette: This allows you to examine and set the properties
  of each of the objects defined by the user.
• Layout Editor: The sizing , positioning , alignment of the user created
  objects are done through this screen
• PL/SQL editor: Used for writing PL/SQL code
• Menu editor : Tool to create menus




                                                                            19
Steps in creating a form
•   Name the form
•   Connect to the database
•   Create blocks (Can use Data Block Wizard)
•   Create the layout( Can use Layout Wizard)
•   Set the properties
•   Add code in triggers
•   Test


                                                20
Forms registration
• TEMPLATE.fmb should be used for building all
  forms
• Register the Form
• Register the Function
• Attach the function to a menu
• FTP the form to the UNIX box
• Compile the form using f60gen command to
  generate executable (fmx)
                                                 21
22
23
24
25
26
27
FTP and Compiling the form

 FTP the form to the   custom_top/forms using any FTP
Tool.
 Go to UNIX and set environment by typing . qoedv2 at the
       prompt .
 Go to AU_TOP/forms/US
Compile the form using the command
 f60gen $CUSTOM_TOP/forms/US/form_name.fmb
username/password




                                                             28
Other components in Forms
Object Libraries
• Create, store, maintain, and distribute standard and reusable objects.
• Rapidly create applications by dragging and dropping predefined
   objects to your form.
PL/SQL Libraries
• These are special type of module in oracle form that serve the purpose
   of central repository for all the program units of the applications.
• Once these PLLs are created they can be accessed from any form or
   menu module.




                                                                       29
Contd..
Menus
• This is a form builder design tool which is used to create
  custom form menus and popup menus
Built in packages
• Forms Developer and Reports Developer provide several
  built-in packages that contain many PL/SQL constructs
  which can be referenced while building applications




                                                               30
Common Issues
• TNS names not found
• Cannot attach PL/SQL Library
• Errors while compiling the form in UNIX




                                            31
Thank You




            32

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Oracle Forms Triggers
Oracle Forms TriggersOracle Forms Triggers
Oracle Forms Triggers
 
Oracle Forms : Validation Triggers
Oracle Forms : Validation TriggersOracle Forms : Validation Triggers
Oracle Forms : Validation Triggers
 
Oracle Forms- key triggers
Oracle Forms- key triggersOracle Forms- key triggers
Oracle Forms- key triggers
 
Oracle Forms Triggers
Oracle Forms TriggersOracle Forms Triggers
Oracle Forms Triggers
 
Oracle Forms: Master Detail form
Oracle Forms: Master Detail formOracle Forms: Master Detail form
Oracle Forms: Master Detail form
 
Oracle Forms: Menu
Oracle Forms: MenuOracle Forms: Menu
Oracle Forms: Menu
 
Oracle Forms Creation
Oracle Forms CreationOracle Forms Creation
Oracle Forms Creation
 
Oracle Forms: Data Blocks on Different Sources
Oracle Forms: Data Blocks on Different SourcesOracle Forms: Data Blocks on Different Sources
Oracle Forms: Data Blocks on Different Sources
 
Oracle Forms-Canvas types
Oracle Forms-Canvas typesOracle Forms-Canvas types
Oracle Forms-Canvas types
 
Oracle Forms: Non input Items
Oracle Forms:  Non input ItemsOracle Forms:  Non input Items
Oracle Forms: Non input Items
 
Oracle D2K reports
Oracle D2K reports Oracle D2K reports
Oracle D2K reports
 
Oracle Forms : Transnational Triggers
Oracle Forms : Transnational TriggersOracle Forms : Transnational Triggers
Oracle Forms : Transnational Triggers
 
Oracle Forms : Multiple Forms
Oracle Forms : Multiple FormsOracle Forms : Multiple Forms
Oracle Forms : Multiple Forms
 
Oracle report from ppt
Oracle report from pptOracle report from ppt
Oracle report from ppt
 
Oracle reports
Oracle reportsOracle reports
Oracle reports
 
How to remove disable an oa framework personalization (doc id 304670
How to remove  disable an oa framework personalization (doc id 304670How to remove  disable an oa framework personalization (doc id 304670
How to remove disable an oa framework personalization (doc id 304670
 
Oracle Forms Tutorial
Oracle Forms TutorialOracle Forms Tutorial
Oracle Forms Tutorial
 
How to create PO with ASN
How to create PO with ASNHow to create PO with ASN
How to create PO with ASN
 
Oracle forms personalization
Oracle forms personalizationOracle forms personalization
Oracle forms personalization
 
Module pool programming
Module pool programmingModule pool programming
Module pool programming
 

Andere mochten auch

Manual oracle forms 6i
Manual oracle forms 6iManual oracle forms 6i
Manual oracle forms 6i
UMSA
 
Oracle forms developer 10g vol1
Oracle forms developer 10g vol1Oracle forms developer 10g vol1
Oracle forms developer 10g vol1
abdull466
 
Manual oracle developer-10g
Manual oracle developer-10gManual oracle developer-10g
Manual oracle developer-10g
davidcsguitar
 
Oracle forms 6i
Oracle forms 6iOracle forms 6i
Oracle forms 6i
Ba Choi
 
Apostila completa-oracle-programando-oracle
Apostila completa-oracle-programando-oracleApostila completa-oracle-programando-oracle
Apostila completa-oracle-programando-oracle
79anderson
 

Andere mochten auch (15)

Manual oracle forms 6i
Manual oracle forms 6iManual oracle forms 6i
Manual oracle forms 6i
 
Oracle forms developer 10g vol1
Oracle forms developer 10g vol1Oracle forms developer 10g vol1
Oracle forms developer 10g vol1
 
Part 16 ALERT USING ORACLE 10G FORM BUILDER
Part 16 ALERT USING ORACLE 10G FORM BUILDERPart 16 ALERT USING ORACLE 10G FORM BUILDER
Part 16 ALERT USING ORACLE 10G FORM BUILDER
 
Manual oracle developer-10g
Manual oracle developer-10gManual oracle developer-10g
Manual oracle developer-10g
 
Clases de php
Clases de phpClases de php
Clases de php
 
Practica form builder
Practica form builderPractica form builder
Practica form builder
 
Oracle forms 6i
Oracle forms 6iOracle forms 6i
Oracle forms 6i
 
Instalacion oracle forms
Instalacion oracle formsInstalacion oracle forms
Instalacion oracle forms
 
Oracle 9i curso_completo
Oracle 9i curso_completoOracle 9i curso_completo
Oracle 9i curso_completo
 
Social Media Marketing en un entorno B2B - Dpto MKT Oracle Iberica
Social Media Marketing en un entorno B2B - Dpto MKT Oracle IbericaSocial Media Marketing en un entorno B2B - Dpto MKT Oracle Iberica
Social Media Marketing en un entorno B2B - Dpto MKT Oracle Iberica
 
Apostila completa-oracle-programando-oracle
Apostila completa-oracle-programando-oracleApostila completa-oracle-programando-oracle
Apostila completa-oracle-programando-oracle
 
Oracle Forms: Messages
Oracle Forms: MessagesOracle Forms: Messages
Oracle Forms: Messages
 
Future of Oracle Forms AUSOUG 2013
Future of Oracle Forms AUSOUG 2013Future of Oracle Forms AUSOUG 2013
Future of Oracle Forms AUSOUG 2013
 
Oracle sql tutorial
Oracle sql tutorialOracle sql tutorial
Oracle sql tutorial
 
Forms 10g procedimientos y cursores
Forms 10g procedimientos y cursoresForms 10g procedimientos y cursores
Forms 10g procedimientos y cursores
 

Ähnlich wie Forms 6i guide

Lesson 1 navigating lab view
Lesson 1   navigating lab viewLesson 1   navigating lab view
Lesson 1 navigating lab view
Raymundo Vazquez
 
Adobe Flex - Developing Rich Internet Application Workshop Day 2
Adobe Flex - Developing Rich Internet Application Workshop Day 2Adobe Flex - Developing Rich Internet Application Workshop Day 2
Adobe Flex - Developing Rich Internet Application Workshop Day 2
Shyamala Prayaga
 
Introduction to visual basic
Introduction to visual basicIntroduction to visual basic
Introduction to visual basic
Manav Khandelwal
 
Anna Fedoruk.Theworkflow.DrupalCamp Kyiv 2011
Anna Fedoruk.Theworkflow.DrupalCamp Kyiv 2011Anna Fedoruk.Theworkflow.DrupalCamp Kyiv 2011
Anna Fedoruk.Theworkflow.DrupalCamp Kyiv 2011
camp_drupal_ua
 

Ähnlich wie Forms 6i guide (20)

forms
formsforms
forms
 
Ms visual-basic-6
Ms visual-basic-6Ms visual-basic-6
Ms visual-basic-6
 
Blisstering drupal module development ppt v1.2
Blisstering drupal module development ppt v1.2Blisstering drupal module development ppt v1.2
Blisstering drupal module development ppt v1.2
 
John Rhodes - CA Plex for CA 2E Shops
John Rhodes - CA Plex for CA 2E ShopsJohn Rhodes - CA Plex for CA 2E Shops
John Rhodes - CA Plex for CA 2E Shops
 
Drupal 8 Basic Training - DrupalEurope 2018 - Maarten De Block
Drupal 8 Basic Training - DrupalEurope 2018 - Maarten De BlockDrupal 8 Basic Training - DrupalEurope 2018 - Maarten De Block
Drupal 8 Basic Training - DrupalEurope 2018 - Maarten De Block
 
Using the Archivists' Toolkit: Hands-on practice and related tools
Using the Archivists' Toolkit: Hands-on practice and related toolsUsing the Archivists' Toolkit: Hands-on practice and related tools
Using the Archivists' Toolkit: Hands-on practice and related tools
 
Integrating the Solr search engine
Integrating the Solr search engineIntegrating the Solr search engine
Integrating the Solr search engine
 
Creating a Great XPages User Interface
Creating a Great XPages User InterfaceCreating a Great XPages User Interface
Creating a Great XPages User Interface
 
Creating a Great XPages User Interface, TLCC Teamstudio Webinar - Feb, 2014
Creating a Great XPages User Interface, TLCC Teamstudio Webinar - Feb, 2014Creating a Great XPages User Interface, TLCC Teamstudio Webinar - Feb, 2014
Creating a Great XPages User Interface, TLCC Teamstudio Webinar - Feb, 2014
 
Lec02
Lec02Lec02
Lec02
 
Creating Accessible PDFs with Acrobat: Requirements, Implementation, and Eval...
Creating Accessible PDFs with Acrobat: Requirements, Implementation, and Eval...Creating Accessible PDFs with Acrobat: Requirements, Implementation, and Eval...
Creating Accessible PDFs with Acrobat: Requirements, Implementation, and Eval...
 
Lesson 1 navigating lab view
Lesson 1   navigating lab viewLesson 1   navigating lab view
Lesson 1 navigating lab view
 
D2 k word_format
D2 k word_formatD2 k word_format
D2 k word_format
 
Adobe Flex - Developing Rich Internet Application Workshop Day 2
Adobe Flex - Developing Rich Internet Application Workshop Day 2Adobe Flex - Developing Rich Internet Application Workshop Day 2
Adobe Flex - Developing Rich Internet Application Workshop Day 2
 
Inventor Content Center: Adding Information
Inventor Content Center:   Adding InformationInventor Content Center:   Adding Information
Inventor Content Center: Adding Information
 
Introduction to visual basic
Introduction to visual basicIntroduction to visual basic
Introduction to visual basic
 
Object Oriented Programming I
Object Oriented Programming IObject Oriented Programming I
Object Oriented Programming I
 
QtQuick Day 3
QtQuick Day 3QtQuick Day 3
QtQuick Day 3
 
Anna Fedoruk.Theworkflow.DrupalCamp Kyiv 2011
Anna Fedoruk.Theworkflow.DrupalCamp Kyiv 2011Anna Fedoruk.Theworkflow.DrupalCamp Kyiv 2011
Anna Fedoruk.Theworkflow.DrupalCamp Kyiv 2011
 
Unit 2 - Object Navigator, Repository and ABAP Programs
Unit 2 - Object Navigator, Repository and ABAP ProgramsUnit 2 - Object Navigator, Repository and ABAP Programs
Unit 2 - Object Navigator, Repository and ABAP Programs
 

Mehr von Vinay Kumar

Extend soa with api management Doag18
Extend soa with api management Doag18Extend soa with api management Doag18
Extend soa with api management Doag18
Vinay Kumar
 
award-3b07c32b-b116-3a75-8974-d814d37026ca
award-3b07c32b-b116-3a75-8974-d814d37026caaward-3b07c32b-b116-3a75-8974-d814d37026ca
award-3b07c32b-b116-3a75-8974-d814d37026ca
Vinay Kumar
 
award-3b07c32b-b116-3a75-8974-d814d37026ca
award-3b07c32b-b116-3a75-8974-d814d37026caaward-3b07c32b-b116-3a75-8974-d814d37026ca
award-3b07c32b-b116-3a75-8974-d814d37026ca
Vinay Kumar
 

Mehr von Vinay Kumar (20)

Modernizing the monolithic architecture to container based architecture apaco...
Modernizing the monolithic architecture to container based architecture apaco...Modernizing the monolithic architecture to container based architecture apaco...
Modernizing the monolithic architecture to container based architecture apaco...
 
Kafka and event driven architecture -apacoug20
Kafka and event driven architecture -apacoug20Kafka and event driven architecture -apacoug20
Kafka and event driven architecture -apacoug20
 
Kafka and event driven architecture -og yatra20
Kafka and event driven architecture -og yatra20Kafka and event driven architecture -og yatra20
Kafka and event driven architecture -og yatra20
 
Extend soa with api management Sangam18
Extend soa with api management Sangam18Extend soa with api management Sangam18
Extend soa with api management Sangam18
 
Extend soa with api management Doag18
Extend soa with api management Doag18Extend soa with api management Doag18
Extend soa with api management Doag18
 
Roaring with elastic search sangam2018
Roaring with elastic search sangam2018Roaring with elastic search sangam2018
Roaring with elastic search sangam2018
 
Extend soa with api management spoug- Madrid
Extend soa with api management   spoug- MadridExtend soa with api management   spoug- Madrid
Extend soa with api management spoug- Madrid
 
Expose your data as an api is with oracle rest data services -spoug Madrid
Expose your data as an api is with oracle rest data services -spoug MadridExpose your data as an api is with oracle rest data services -spoug Madrid
Expose your data as an api is with oracle rest data services -spoug Madrid
 
Modern application development with oracle cloud sangam17
Modern application development with oracle cloud sangam17Modern application development with oracle cloud sangam17
Modern application development with oracle cloud sangam17
 
award-3b07c32b-b116-3a75-8974-d814d37026ca
award-3b07c32b-b116-3a75-8974-d814d37026caaward-3b07c32b-b116-3a75-8974-d814d37026ca
award-3b07c32b-b116-3a75-8974-d814d37026ca
 
award-3b07c32b-b116-3a75-8974-d814d37026ca
award-3b07c32b-b116-3a75-8974-d814d37026caaward-3b07c32b-b116-3a75-8974-d814d37026ca
award-3b07c32b-b116-3a75-8974-d814d37026ca
 
Adf spotlight-webcenter task flow-customzation
Adf spotlight-webcenter task flow-customzationAdf spotlight-webcenter task flow-customzation
Adf spotlight-webcenter task flow-customzation
 
Personalization in webcenter portal
Personalization in webcenter portalPersonalization in webcenter portal
Personalization in webcenter portal
 
Custom audit rules in Jdeveloper extension
Custom audit rules in Jdeveloper extensionCustom audit rules in Jdeveloper extension
Custom audit rules in Jdeveloper extension
 
File upload in oracle adf mobile
File upload in oracle adf mobileFile upload in oracle adf mobile
File upload in oracle adf mobile
 
Webcenter application performance tuning guide
Webcenter application performance tuning guideWebcenter application performance tuning guide
Webcenter application performance tuning guide
 
Tuning and optimizing webcenter spaces application white paper
Tuning and optimizing webcenter spaces application white paperTuning and optimizing webcenter spaces application white paper
Tuning and optimizing webcenter spaces application white paper
 
Oracle adf performance tips
Oracle adf performance tipsOracle adf performance tips
Oracle adf performance tips
 
JSR 168 Portal - Overview
JSR 168 Portal - OverviewJSR 168 Portal - Overview
JSR 168 Portal - Overview
 
Spring framework in depth
Spring framework in depthSpring framework in depth
Spring framework in depth
 

Kürzlich hochgeladen

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Kürzlich hochgeladen (20)

ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 

Forms 6i guide

  • 1. Forms 6i By Vinay Kumar 1
  • 2. Topics Covered • Introduction to forms • Components in forms • Forms in Oracle Apps 2
  • 3. Application Development in Forms Two Parts in Forms Development • Forms painting – Designing the layout of the forms • Coding – Coding in Triggers and Lovs 3
  • 4. Major Components of a form • Canvas • Windows • Blocks • Items • PL/SQL blocks 4
  • 5. Canvas • It’s the background on which you place the interface objects. • Items in a block can be placed on different canvas views and can be displayed in different windows. • Different Types of canvas are tab canvas stack canvas and content canvas 5
  • 6. Windows • A form can include any number of windows. • A new form will by default have one window named window1. • A window must be attached to a canvas. 6
  • 7. Block • They are logical containers and have no physical representation in the form • They are very similar to the tables in the database . • Each block may or may not be connected to the database table . • There are 2 types of blocks Control and Database block 7
  • 8. Block – Cont.. • Block connected to database(Table) is called a database block.User can query , update , insert and delete data in the base table because of this direct relationship. • Two blocks can be connected using Master- Detail relation ship. 8
  • 9. Items - Basic building blocks of a form • Types – Text Item: A single- or multi-line text box that supports a variety of data types, format masks, and editing capabilities. – Display Item: A read-only text box whose value must be fetched or assigned programmatically. Operators cannot navigate to a display item or edit the text it contains. 9
  • 10. Cont.. – List Item: A List of choices displayed as either a drop-down List, a List box, or a combo box. – Push Button: A rectangle with a text label or an icon graphic inside. – Radio Group: A group of radio buttons, one of which is always selected. – Check Box: A text label with a graphic state indicator that displays the current value as either checked or unchecked. Clicking on a check box toggles it to the opposite state. 10
  • 11. Items – Cont.. • Bean Areas • Chart Items • Image Items • Hierarchical Tree Item • User Area 11
  • 12. Triggers • All the coding for a form is done in a trigger • Triggers are defined/attached at three levels-Form level, Block level,Item level. • Trigger contains one or more PL/SQL statements. • There are triggers defined for all events and actions which can take place in a form • Trigger names correspond to runtime events. • A trigger must be attached to a specific object in the form, either an item, a block, or the form itself. 12
  • 13. Triggers Contd.. • Trigger types -- When Triggers -- Pre Triggers -- Post Triggers -- On Triggers -- Key Triggers 13
  • 14. Triggering Sequence When a form is Opened • Pre-Form • Pre-Block • Pre-Record • Pre-Text-Item • When-New-Form-Instance • When-New-Block-Instance • When-New-Record-Instance • When-New-Item-Instance 14
  • 15. Contd.. When Form is closed • Post-Text-Item • Post-Record • Post-Block • Post-Form 15
  • 16. Program Units • Procedure • Function • Package Spec • Package Body 16
  • 17. Libraries • Procedures and functions used across the forms • It is a type of module (.PLL) • Attaching libraries • Can be accessed from forms, menus, libraries 17
  • 18. Some other concepts • Alerts • LOV • Record Groups • Parameters 18
  • 19. Tools in Forms Designer • Object Navigator : The Object navigator displays each object you have created and allows you to navigate through the hierarchy • Properties Palette: This allows you to examine and set the properties of each of the objects defined by the user. • Layout Editor: The sizing , positioning , alignment of the user created objects are done through this screen • PL/SQL editor: Used for writing PL/SQL code • Menu editor : Tool to create menus 19
  • 20. Steps in creating a form • Name the form • Connect to the database • Create blocks (Can use Data Block Wizard) • Create the layout( Can use Layout Wizard) • Set the properties • Add code in triggers • Test 20
  • 21. Forms registration • TEMPLATE.fmb should be used for building all forms • Register the Form • Register the Function • Attach the function to a menu • FTP the form to the UNIX box • Compile the form using f60gen command to generate executable (fmx) 21
  • 22. 22
  • 23. 23
  • 24. 24
  • 25. 25
  • 26. 26
  • 27. 27
  • 28. FTP and Compiling the form  FTP the form to the custom_top/forms using any FTP Tool.  Go to UNIX and set environment by typing . qoedv2 at the prompt .  Go to AU_TOP/forms/US Compile the form using the command  f60gen $CUSTOM_TOP/forms/US/form_name.fmb username/password 28
  • 29. Other components in Forms Object Libraries • Create, store, maintain, and distribute standard and reusable objects. • Rapidly create applications by dragging and dropping predefined objects to your form. PL/SQL Libraries • These are special type of module in oracle form that serve the purpose of central repository for all the program units of the applications. • Once these PLLs are created they can be accessed from any form or menu module. 29
  • 30. Contd.. Menus • This is a form builder design tool which is used to create custom form menus and popup menus Built in packages • Forms Developer and Reports Developer provide several built-in packages that contain many PL/SQL constructs which can be referenced while building applications 30
  • 31. Common Issues • TNS names not found • Cannot attach PL/SQL Library • Errors while compiling the form in UNIX 31
  • 32. Thank You 32