SlideShare a Scribd company logo
1 of 33
Forms 6i
By Chandrasekhar Redrouthu
Topics Covered
• Introduction to forms
• Components in forms
• Forms in Oracle Apps
Application Development in
Forms
Two Parts in Forms Development
• Forms painting
– Designing the layout of the forms
• Coding
– Coding in Triggers and Lovs
Major Components of a form
• Canvas
• Windows
• Blocks
• Items
• PL/SQL blocks
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
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.
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
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.
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.
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.
Items – Cont..
• Bean Areas
• Chart Items
• Image Items
• Hierarchical Tree Item
• User Area
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
Triggers Contd..
• Trigger types
-- When Triggers
-- Pre Triggers
-- Post Triggers
-- On Triggers
-- Key Triggers
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
Contd..When Form is closed
• Post-Text-Item
• Post-Record
• Post-Block
• Post-Form
Program Units
• Procedure
• Function
• Package Spec
• Package Body
Libraries
• Procedures and functions
used across the forms
• It is a type of module (.PLL)
• Attaching libraries
• Can be accessed from
forms, menus, libraries
Some other concepts
• Alerts
• LOV
• Record Groups
• Parameters
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
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
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)
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.fmbusername/password
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.
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
Common Issues
• TNS names not found
• Cannot attach PL/SQL Library
• Errors while compiling the form in UNIX
Thank You

More Related Content

Viewers also liked

A Silver Tsunami Invades The Health Of Nations - Forbes
A Silver Tsunami Invades The Health Of Nations - ForbesA Silver Tsunami Invades The Health Of Nations - Forbes
A Silver Tsunami Invades The Health Of Nations - ForbesDr Siddharth Dutta
 
April may newsletter
April may newsletterApril may newsletter
April may newsletterhcso1
 
Bendfeldt flory peer_abstract-of-in-house-composting_natio-
Bendfeldt flory peer_abstract-of-in-house-composting_natio-Bendfeldt flory peer_abstract-of-in-house-composting_natio-
Bendfeldt flory peer_abstract-of-in-house-composting_natio-IIAD
 
Trabajo 2
Trabajo 2Trabajo 2
Trabajo 2ahine09
 
Lect 3.1 análisis de modelos pedagógicos
Lect  3.1 análisis de modelos pedagógicosLect  3.1 análisis de modelos pedagógicos
Lect 3.1 análisis de modelos pedagógicosIrene Pringle
 
Webinar Insight: Resultados del 2º estudio de email marketing 2015 /Abril 2016
Webinar Insight: Resultados del 2º estudio de email marketing 2015 /Abril 2016Webinar Insight: Resultados del 2º estudio de email marketing 2015 /Abril 2016
Webinar Insight: Resultados del 2º estudio de email marketing 2015 /Abril 2016MasterBase®
 
Calor de explosion de los explosivos industriales
Calor de explosion de los explosivos industrialesCalor de explosion de los explosivos industriales
Calor de explosion de los explosivos industrialesPANTILINDO
 
Ejemplo 1 ruta mas corta entre dos nodos especificos
Ejemplo 1 ruta mas corta entre dos nodos especificosEjemplo 1 ruta mas corta entre dos nodos especificos
Ejemplo 1 ruta mas corta entre dos nodos especificospodersonico
 
TEC Indonesia for AEC 2016
TEC Indonesia for AEC 2016TEC Indonesia for AEC 2016
TEC Indonesia for AEC 2016Ferry Pranata
 

Viewers also liked (11)

Training_Authoring
Training_AuthoringTraining_Authoring
Training_Authoring
 
Habitech 4
Habitech 4Habitech 4
Habitech 4
 
A Silver Tsunami Invades The Health Of Nations - Forbes
A Silver Tsunami Invades The Health Of Nations - ForbesA Silver Tsunami Invades The Health Of Nations - Forbes
A Silver Tsunami Invades The Health Of Nations - Forbes
 
April may newsletter
April may newsletterApril may newsletter
April may newsletter
 
Bendfeldt flory peer_abstract-of-in-house-composting_natio-
Bendfeldt flory peer_abstract-of-in-house-composting_natio-Bendfeldt flory peer_abstract-of-in-house-composting_natio-
Bendfeldt flory peer_abstract-of-in-house-composting_natio-
 
Trabajo 2
Trabajo 2Trabajo 2
Trabajo 2
 
Lect 3.1 análisis de modelos pedagógicos
Lect  3.1 análisis de modelos pedagógicosLect  3.1 análisis de modelos pedagógicos
Lect 3.1 análisis de modelos pedagógicos
 
Webinar Insight: Resultados del 2º estudio de email marketing 2015 /Abril 2016
Webinar Insight: Resultados del 2º estudio de email marketing 2015 /Abril 2016Webinar Insight: Resultados del 2º estudio de email marketing 2015 /Abril 2016
Webinar Insight: Resultados del 2º estudio de email marketing 2015 /Abril 2016
 
Calor de explosion de los explosivos industriales
Calor de explosion de los explosivos industrialesCalor de explosion de los explosivos industriales
Calor de explosion de los explosivos industriales
 
Ejemplo 1 ruta mas corta entre dos nodos especificos
Ejemplo 1 ruta mas corta entre dos nodos especificosEjemplo 1 ruta mas corta entre dos nodos especificos
Ejemplo 1 ruta mas corta entre dos nodos especificos
 
TEC Indonesia for AEC 2016
TEC Indonesia for AEC 2016TEC Indonesia for AEC 2016
TEC Indonesia for AEC 2016
 

Similar to forms

Creating a Great XPages User Interface
Creating a Great XPages User InterfaceCreating a Great XPages User Interface
Creating a Great XPages User InterfaceTeamstudio
 
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, 2014Howard Greenberg
 
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 ShopsJohn Zozzaro
 
Oracle Forms Tutorial (www.aboutoracleapps.com)
Oracle Forms Tutorial (www.aboutoracleapps.com)Oracle Forms Tutorial (www.aboutoracleapps.com)
Oracle Forms Tutorial (www.aboutoracleapps.com)magupta26
 
Obiee metadata development
Obiee metadata developmentObiee metadata development
Obiee metadata developmentdils4u
 
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 toolsAudra Eagle Yun
 
Std 12 Computer Chapter 1 Creating Html Forms Using KompoZer
Std 12 Computer Chapter 1 Creating Html Forms Using KompoZerStd 12 Computer Chapter 1 Creating Html Forms Using KompoZer
Std 12 Computer Chapter 1 Creating Html Forms Using KompoZerNuzhat Memon
 
Oracle forms les03
Oracle forms  les03Oracle forms  les03
Oracle forms les03Abed Othman
 
Oracle Configurator Developer
Oracle Configurator DeveloperOracle Configurator Developer
Oracle Configurator DeveloperPritesh Mogane
 
Oracle Forms Creation
Oracle Forms CreationOracle Forms Creation
Oracle Forms CreationSekhar Byna
 
Introduction to STATA(2).pdf
Introduction to STATA(2).pdfIntroduction to STATA(2).pdf
Introduction to STATA(2).pdfYomif3
 
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 Programsdubon07
 

Similar to forms (20)

Forms 6i guide
Forms 6i guideForms 6i guide
Forms 6i guide
 
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
 
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
 
Oracle Apps - Forms
Oracle Apps - FormsOracle Apps - Forms
Oracle Apps - Forms
 
Dbms fast track 2/3
Dbms fast track 2/3Dbms fast track 2/3
Dbms fast track 2/3
 
D2 k word_format
D2 k word_formatD2 k word_format
D2 k word_format
 
Visual Basic.pptx
Visual Basic.pptxVisual Basic.pptx
Visual Basic.pptx
 
Visual basic
Visual basicVisual basic
Visual basic
 
Oracle Forms Tutorial (www.aboutoracleapps.com)
Oracle Forms Tutorial (www.aboutoracleapps.com)Oracle Forms Tutorial (www.aboutoracleapps.com)
Oracle Forms Tutorial (www.aboutoracleapps.com)
 
Obiee metadata development
Obiee metadata developmentObiee metadata development
Obiee metadata development
 
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
 
Lec02
Lec02Lec02
Lec02
 
Ms visual-basic-6
Ms visual-basic-6Ms visual-basic-6
Ms visual-basic-6
 
Std 12 Computer Chapter 1 Creating Html Forms Using KompoZer
Std 12 Computer Chapter 1 Creating Html Forms Using KompoZerStd 12 Computer Chapter 1 Creating Html Forms Using KompoZer
Std 12 Computer Chapter 1 Creating Html Forms Using KompoZer
 
Oracle forms les03
Oracle forms  les03Oracle forms  les03
Oracle forms les03
 
Oracle Configurator Developer
Oracle Configurator DeveloperOracle Configurator Developer
Oracle Configurator Developer
 
Oracle Forms Creation
Oracle Forms CreationOracle Forms Creation
Oracle Forms Creation
 
Introduction to STATA(2).pdf
Introduction to STATA(2).pdfIntroduction to STATA(2).pdf
Introduction to STATA(2).pdf
 
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
 

forms

  • 2. Topics Covered • Introduction to forms • Components in forms • Forms in Oracle Apps
  • 3. Application Development in Forms Two Parts in Forms Development • Forms painting – Designing the layout of the forms • Coding – Coding in Triggers and Lovs
  • 4. Major Components of a form • Canvas • Windows • Blocks • Items • PL/SQL blocks
  • 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
  • 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.
  • 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
  • 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.
  • 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.
  • 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.
  • 11. Items – Cont.. • Bean Areas • Chart Items • Image Items • Hierarchical Tree Item • User Area
  • 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
  • 13. Triggers Contd.. • Trigger types -- When Triggers -- Pre Triggers -- Post Triggers -- On Triggers -- Key Triggers
  • 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
  • 15. Contd..When Form is closed • Post-Text-Item • Post-Record • Post-Block • Post-Form
  • 16. Program Units • Procedure • Function • Package Spec • Package Body
  • 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
  • 18. Some other concepts • Alerts • LOV • Record Groups • Parameters
  • 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
  • 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
  • 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)
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29. 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.fmbusername/password
  • 30. 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.
  • 31. 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
  • 32. Common Issues • TNS names not found • Cannot attach PL/SQL Library • Errors while compiling the form in UNIX