Professional Documents
Culture Documents
Applications: Forms
Volume 1 Student Guide
14464GC11
Production 1.1
November 2000
M0-13456
Authors
Martin Taylor
Mildred Wang
Sara Woodhull
Technical Contributors
and Reviewers
Phil Cannon
Anne Carlson
Steve Carter
Lisa Nordhagen
Mary Thomas
Peter Wallack
Publisher
Table of Contents
Preface
Objectives ..................................................................................................................................................I-3
Before You Begin This Course ...............................................................................................................I-4
Prerequisites .............................................................................................................................................I-5
How This Course is Organized ..............................................................................................................I-6
Other Sources of Information .................................................................................................................I-7
iii
2 Application Architecture
Objectives ..........................................................................................................................................2-3
Overview of Application Development .......................................................................................2-4
Overview of Form Development Steps .................................................................................2-5
Building an Application ..........................................................................................................2-6
Definitions .................................................................................................................................2-7
Getting Started on Your Application .....................................................................................2-8
Register Your Application .....................................................................................................2-10
Application Directory Structure ...........................................................................................2-12
Define Your Application Basepath ......................................................................................2-17
Overview of Oracle Applications Schemas ........................................................................2-19
Users, Responsibilities, and Data .........................................................................................2-21
Register Your Oracle User (Schema) ....................................................................................2-22
Add Your Application to a Data Group ..............................................................................2-25
Create a Responsibility ..........................................................................................................2-27
Create an Application User ...................................................................................................2-28
Register Your Tables ..............................................................................................................2-29
iv
7 Container Objects
Objectives ..........................................................................................................................................7-3
Modules .............................................................................................................................................7-4
Windows ...........................................................................................................................................7-6
Non-Modal Windows .....................................................................................................................7-8
Modal Windows ...............................................................................................................................7-9
Canvases ..........................................................................................................................................7-10
Blocks ...............................................................................................................................................7-15
Regions ............................................................................................................................................7-22
Navigation ......................................................................................................................................7-27
8 Widgets
Objectives ..........................................................................................................................................8-3
General Properties ...........................................................................................................................8-4
Text Items ..........................................................................................................................................8-5
Display Items ....................................................................................................................................8-7
Check Boxes ......................................................................................................................................8-9
Buttons .............................................................................................................................................8-10
Option Groups ...............................................................................................................................8-13
Poplists ............................................................................................................................................8-15
LOVs ................................................................................................................................................8-17
Descriptive Flexfields ....................................................................................................................8-20
Key Flexfields .................................................................................................................................8-21
9 Layout
Objectives ..........................................................................................................................................9-3
The Layout Process Chronologically ............................................................................................9-4
General Layout Settings ..................................................................................................................9-5
Arranging Items and Translation ..................................................................................................9-6
Cosmetics and Property Classes ....................................................................................................9-8
Accessibility in Oracle Forms Applications .................................................................................9-9
Properties of Block Titles ..............................................................................................................9-14
Regions ............................................................................................................................................9-16
Properties of Region Titles ...........................................................................................................9-19
vi
vii
13 Message Dictionary
Objectives ........................................................................................................................................13-3
Message Dictionary Overview .....................................................................................................13-4
Define Messages for Your Application .......................................................................................13-5
Message Content Standards .........................................................................................................13-7
Generate Message Files .................................................................................................................13-9
Displaying Messages Is a Two-Phase Process .........................................................................13-10
Set Up Messages in the Form .....................................................................................................13-11
Display Your Message in the Form ...........................................................................................13-15
Call Messages from the Server ...................................................................................................13-21
Other Useful Message Routines ................................................................................................13-23
14 Flexfields
Objectives ........................................................................................................................................14-3
Benefits of Flexfields ......................................................................................................................14-4
Look at a Flexfield ..........................................................................................................................14-5
When to Use A Flexfield ...............................................................................................................14-9
Your End Users Perspective ......................................................................................................14-10
viii
15 Query Find
Objectives ........................................................................................................................................15-3
Overview of Query Find ...............................................................................................................15-4
Create a Row-LOV .........................................................................................................................15-7
Create a Find Window ..................................................................................................................15-8
ix
17 Attachments
Objectives ........................................................................................................................................17-3
Overview of the Attachments Feature ........................................................................................17-4
Definitions .......................................................................................................................................17-5
Plan the Attachments Feature for Your Application ................................................................17-7
Define the Attachments Feature ...................................................................................................17-9
Set Up Entities ..............................................................................................................................17-10
Set Up Document Categories .....................................................................................................17-11
Set Up Attachment Functions ....................................................................................................17-12
Add and View Attachments from Your Form .........................................................................17-16
B - Practices
Login Information B-3
Lab 1: Architecture .................................................................................................................. B-4
Lab 2: Menus and Function Security .................................................................................... B-5
Lab 3: Container Objects ......................................................................................................... B-7
Lab 4: Widgets ........................................................................................................................ B-12
Lab 5: Layout .......................................................................................................................... B-18
Lab 6: Enhance Items: Create LOVs .................................................................................... B-20
Lab 7: Coding with PL/SQL ................................................................................................ B-22
Lab 8: Controlling Windows ................................................................................................ B-26
xi
xii