SlideShare a Scribd company logo
1 of 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

More Related Content

What's hot

What's hot (20)

Oracle Forms Introduction
Oracle Forms IntroductionOracle Forms Introduction
Oracle Forms Introduction
 
Oracle report from ppt
Oracle report from pptOracle report from ppt
Oracle report from ppt
 
Oracle Form material
Oracle Form materialOracle Form material
Oracle Form material
 
Oracle Forms- key triggers
Oracle Forms- key triggersOracle Forms- key triggers
Oracle Forms- key triggers
 
Oracle D2K reports
Oracle D2K reports Oracle D2K reports
Oracle D2K reports
 
Oracle Forms :Window and Canvases
Oracle Forms :Window and CanvasesOracle Forms :Window and Canvases
Oracle Forms :Window and Canvases
 
Oracle Forms : Query Triggers
Oracle Forms : Query TriggersOracle Forms : Query Triggers
Oracle Forms : Query Triggers
 
Oracle Forms : Validation Triggers
Oracle Forms : Validation TriggersOracle Forms : Validation Triggers
Oracle Forms : Validation Triggers
 
Oracle Forms : Transnational Triggers
Oracle Forms : Transnational TriggersOracle Forms : Transnational Triggers
Oracle Forms : Transnational Triggers
 
Oracle Forms: Non input Items
Oracle Forms:  Non input ItemsOracle Forms:  Non input Items
Oracle Forms: Non input Items
 
Reports 6i
Reports 6iReports 6i
Reports 6i
 
SAP Adobe forms
SAP Adobe formsSAP Adobe forms
SAP Adobe forms
 
Oracle Forms Triggers
Oracle Forms TriggersOracle Forms Triggers
Oracle Forms Triggers
 
oracle-reports6i
oracle-reports6ioracle-reports6i
oracle-reports6i
 
Oracle EBS R12.2 - Deployment and System Administration
Oracle EBS R12.2 - Deployment and System AdministrationOracle EBS R12.2 - Deployment and System Administration
Oracle EBS R12.2 - Deployment and System Administration
 
Oracle Forms Creation-List of Values (LOV)
Oracle Forms Creation-List of Values (LOV)Oracle Forms Creation-List of Values (LOV)
Oracle Forms Creation-List of Values (LOV)
 
Oracle Forms: Menu
Oracle Forms: MenuOracle Forms: Menu
Oracle Forms: Menu
 
Creating business group in oracle apps
Creating business group in oracle appsCreating business group in oracle apps
Creating business group in oracle apps
 
Oracle Forms-Canvas types
Oracle Forms-Canvas typesOracle Forms-Canvas types
Oracle Forms-Canvas types
 
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
 

Viewers also liked

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
 

Viewers also liked (16)

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 reports
Oracle reportsOracle reports
Oracle reports
 
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
 

Similar to 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
 

Similar to 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
 

More from 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
 

More from 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
 

Recently uploaded

Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
FIDO Alliance
 
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxHarnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
FIDO Alliance
 

Recently uploaded (20)

Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data Science
 
ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptx
 
API Governance and Monetization - The evolution of API governance
API Governance and Monetization -  The evolution of API governanceAPI Governance and Monetization -  The evolution of API governance
API Governance and Monetization - The evolution of API governance
 
Overview of Hyperledger Foundation
Overview of Hyperledger FoundationOverview of Hyperledger Foundation
Overview of Hyperledger Foundation
 
Navigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern EnterpriseNavigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern Enterprise
 
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
 
Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform Engineering
 
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
 
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
 
JavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate GuideJavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate Guide
 
2024 May Patch Tuesday
2024 May Patch Tuesday2024 May Patch Tuesday
2024 May Patch Tuesday
 
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxIntro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptx
 
How to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cfHow to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cf
 
Design Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptxDesign Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptx
 
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage Intacct
 
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
 
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
 
WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024
 
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxHarnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 

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