© 2007 by prentice hall8-1 introduction to oracle 10g chapter 8 understanding and using forms...
TRANSCRIPT
![Page 1: © 2007 by Prentice Hall8-1 Introduction to Oracle 10g Chapter 8 Understanding and Using Forms Builder James Perry and Gerald Post](https://reader036.vdocument.in/reader036/viewer/2022070402/56649f255503460f94c3c069/html5/thumbnails/1.jpg)
© 2007 by Prentice Hall8-1
Introduction to Oracle 10gChapter 8Understanding and Using Forms Builder
James Perry and Gerald Post
![Page 2: © 2007 by Prentice Hall8-1 Introduction to Oracle 10g Chapter 8 Understanding and Using Forms Builder James Perry and Gerald Post](https://reader036.vdocument.in/reader036/viewer/2022070402/56649f255503460f94c3c069/html5/thumbnails/2.jpg)
© 2007 by Prentice Hall8-2
Chapter Outline
• Introduction to Forms• Creating a Simple Main Form with the Forms
Builder• Modifying Forms• Creating Tabular Forms and Sub Forms
![Page 3: © 2007 by Prentice Hall8-1 Introduction to Oracle 10g Chapter 8 Understanding and Using Forms Builder James Perry and Gerald Post](https://reader036.vdocument.in/reader036/viewer/2022070402/56649f255503460f94c3c069/html5/thumbnails/3.jpg)
© 2007 by Prentice Hall8-3
8.1: The Agent form for Redwood Realty shows one agent at a time
Sample forms
![Page 4: © 2007 by Prentice Hall8-1 Introduction to Oracle 10g Chapter 8 Understanding and Using Forms Builder James Perry and Gerald Post](https://reader036.vdocument.in/reader036/viewer/2022070402/56649f255503460f94c3c069/html5/thumbnails/4.jpg)
© 2007 by Prentice Hall8-4
8.2: The License Status form uses a grid layout to display multiple rows
![Page 5: © 2007 by Prentice Hall8-1 Introduction to Oracle 10g Chapter 8 Understanding and Using Forms Builder James Perry and Gerald Post](https://reader036.vdocument.in/reader036/viewer/2022070402/56649f255503460f94c3c069/html5/thumbnails/5.jpg)
© 2007 by Prentice Hall8-5
8.3: The Agent Contacts from combines a main form with a tabular form
![Page 6: © 2007 by Prentice Hall8-1 Introduction to Oracle 10g Chapter 8 Understanding and Using Forms Builder James Perry and Gerald Post](https://reader036.vdocument.in/reader036/viewer/2022070402/56649f255503460f94c3c069/html5/thumbnails/6.jpg)
© 2007 by Prentice Hall8-6
8.6 Web services architecture
Developer User
Database server
Application serverForms
builderName.fmb
Compiled formName.fmx
Java-enabled Web browser
Forms and data
Overview of forms architecture on the Web
![Page 7: © 2007 by Prentice Hall8-1 Introduction to Oracle 10g Chapter 8 Understanding and Using Forms Builder James Perry and Gerald Post](https://reader036.vdocument.in/reader036/viewer/2022070402/56649f255503460f94c3c069/html5/thumbnails/7.jpg)
© 2007 by Prentice Hall8-7
8.5 Design view of the structure of an Oracle form
Object Navigator
CanvasToolsProperty Palette
Items
![Page 8: © 2007 by Prentice Hall8-1 Introduction to Oracle 10g Chapter 8 Understanding and Using Forms Builder James Perry and Gerald Post](https://reader036.vdocument.in/reader036/viewer/2022070402/56649f255503460f94c3c069/html5/thumbnails/8.jpg)
© 2007 by Prentice Hall8-8
8.6 Choosing tables with the data block wizard
The Browse button gives you the list of tables
Creating a form with the wizards
![Page 9: © 2007 by Prentice Hall8-1 Introduction to Oracle 10g Chapter 8 Understanding and Using Forms Builder James Perry and Gerald Post](https://reader036.vdocument.in/reader036/viewer/2022070402/56649f255503460f94c3c069/html5/thumbnails/9.jpg)
© 2007 by Prentice Hall8-9
8.7 Choosing columns with the data block wizard
![Page 10: © 2007 by Prentice Hall8-1 Introduction to Oracle 10g Chapter 8 Understanding and Using Forms Builder James Perry and Gerald Post](https://reader036.vdocument.in/reader036/viewer/2022070402/56649f255503460f94c3c069/html5/thumbnails/10.jpg)
© 2007 by Prentice Hall8-10
8.8 Setting prompts and column widths in the layout wizard
![Page 11: © 2007 by Prentice Hall8-1 Introduction to Oracle 10g Chapter 8 Understanding and Using Forms Builder James Perry and Gerald Post](https://reader036.vdocument.in/reader036/viewer/2022070402/56649f255503460f94c3c069/html5/thumbnails/11.jpg)
© 2007 by Prentice Hall8-11
8.9 Choosing the number of records in the layout wizard
![Page 12: © 2007 by Prentice Hall8-1 Introduction to Oracle 10g Chapter 8 Understanding and Using Forms Builder James Perry and Gerald Post](https://reader036.vdocument.in/reader036/viewer/2022070402/56649f255503460f94c3c069/html5/thumbnails/12.jpg)
© 2007 by Prentice Hall8-12
8.10 Design of the initial Customer form
![Page 13: © 2007 by Prentice Hall8-1 Introduction to Oracle 10g Chapter 8 Understanding and Using Forms Builder James Perry and Gerald Post](https://reader036.vdocument.in/reader036/viewer/2022070402/56649f255503460f94c3c069/html5/thumbnails/13.jpg)
© 2007 by Prentice Hall8-13
8.11 First step of JInitiator setup
Running the form
![Page 14: © 2007 by Prentice Hall8-1 Introduction to Oracle 10g Chapter 8 Understanding and Using Forms Builder James Perry and Gerald Post](https://reader036.vdocument.in/reader036/viewer/2022070402/56649f255503460f94c3c069/html5/thumbnails/14.jpg)
© 2007 by Prentice Hall8-14
8.12 Initial Customer form and form controls
Execute QuerySelect prior or next record
Add or delete records
Save changes
Close form
![Page 15: © 2007 by Prentice Hall8-1 Introduction to Oracle 10g Chapter 8 Understanding and Using Forms Builder James Perry and Gerald Post](https://reader036.vdocument.in/reader036/viewer/2022070402/56649f255503460f94c3c069/html5/thumbnails/15.jpg)
© 2007 by Prentice Hall8-15
8.13 Simple form query to find all customers with a last name beginning with the letter B
Enter Query Execute Query Cancel Query
Displaying data with form queries
![Page 16: © 2007 by Prentice Hall8-1 Introduction to Oracle 10g Chapter 8 Understanding and Using Forms Builder James Perry and Gerald Post](https://reader036.vdocument.in/reader036/viewer/2022070402/56649f255503460f94c3c069/html5/thumbnails/16.jpg)
© 2007 by Prentice Hall8-16
8.14 Rows filtered by the query
![Page 17: © 2007 by Prentice Hall8-1 Introduction to Oracle 10g Chapter 8 Understanding and Using Forms Builder James Perry and Gerald Post](https://reader036.vdocument.in/reader036/viewer/2022070402/56649f255503460f94c3c069/html5/thumbnails/17.jpg)
© 2007 by Prentice Hall8-17
8.15 Object alignment options
The Layout Editor
![Page 18: © 2007 by Prentice Hall8-1 Introduction to Oracle 10g Chapter 8 Understanding and Using Forms Builder James Perry and Gerald Post](https://reader036.vdocument.in/reader036/viewer/2022070402/56649f255503460f94c3c069/html5/thumbnails/18.jpg)
© 2007 by Prentice Hall8-18
8.16 The object navigator
![Page 19: © 2007 by Prentice Hall8-1 Introduction to Oracle 10g Chapter 8 Understanding and Using Forms Builder James Perry and Gerald Post](https://reader036.vdocument.in/reader036/viewer/2022070402/56649f255503460f94c3c069/html5/thumbnails/19.jpg)
© 2007 by Prentice Hall8-19
8.17 Common form modifications
Alignment options
![Page 20: © 2007 by Prentice Hall8-1 Introduction to Oracle 10g Chapter 8 Understanding and Using Forms Builder James Perry and Gerald Post](https://reader036.vdocument.in/reader036/viewer/2022070402/56649f255503460f94c3c069/html5/thumbnails/20.jpg)
© 2007 by Prentice Hall8-20
8.18 Adding a static image
![Page 21: © 2007 by Prentice Hall8-1 Introduction to Oracle 10g Chapter 8 Understanding and Using Forms Builder James Perry and Gerald Post](https://reader036.vdocument.in/reader036/viewer/2022070402/56649f255503460f94c3c069/html5/thumbnails/21.jpg)
© 2007 by Prentice Hall8-21
8.19 Design for the Listings form
![Page 22: © 2007 by Prentice Hall8-1 Introduction to Oracle 10g Chapter 8 Understanding and Using Forms Builder James Perry and Gerald Post](https://reader036.vdocument.in/reader036/viewer/2022070402/56649f255503460f94c3c069/html5/thumbnails/22.jpg)
© 2007 by Prentice Hall8-22
8.20 Loading an image to the database
![Page 23: © 2007 by Prentice Hall8-1 Introduction to Oracle 10g Chapter 8 Understanding and Using Forms Builder James Perry and Gerald Post](https://reader036.vdocument.in/reader036/viewer/2022070402/56649f255503460f94c3c069/html5/thumbnails/23.jpg)
© 2007 by Prentice Hall8-23
Table 8.1: Property changes for query lookup values
Property New Value
Name FIRSTNAME
Prompt First Name
Prompt Attachment Offset 7
Database Item Yes
Column Name FIRSTNAME
Primary Key No
Query Only Yes
Adding lookup columns with a List Of Values
![Page 24: © 2007 by Prentice Hall8-1 Introduction to Oracle 10g Chapter 8 Understanding and Using Forms Builder James Perry and Gerald Post](https://reader036.vdocument.in/reader036/viewer/2022070402/56649f255503460f94c3c069/html5/thumbnails/24.jpg)
© 2007 by Prentice Hall8-24
8.21 Choosing the return item with the List of Values wizard
![Page 25: © 2007 by Prentice Hall8-1 Introduction to Oracle 10g Chapter 8 Understanding and Using Forms Builder James Perry and Gerald Post](https://reader036.vdocument.in/reader036/viewer/2022070402/56649f255503460f94c3c069/html5/thumbnails/25.jpg)
© 2007 by Prentice Hall8-25
8.22 List of values for selecting the listing agent
![Page 26: © 2007 by Prentice Hall8-1 Introduction to Oracle 10g Chapter 8 Understanding and Using Forms Builder James Perry and Gerald Post](https://reader036.vdocument.in/reader036/viewer/2022070402/56649f255503460f94c3c069/html5/thumbnails/26.jpg)
© 2007 by Prentice Hall8-26
8.23 Changing an item type to Radio Group
Adding Radio buttons
![Page 27: © 2007 by Prentice Hall8-1 Introduction to Oracle 10g Chapter 8 Understanding and Using Forms Builder James Perry and Gerald Post](https://reader036.vdocument.in/reader036/viewer/2022070402/56649f255503460f94c3c069/html5/thumbnails/27.jpg)
© 2007 by Prentice Hall8-27
8.24 Properties for the radio button
![Page 28: © 2007 by Prentice Hall8-1 Introduction to Oracle 10g Chapter 8 Understanding and Using Forms Builder James Perry and Gerald Post](https://reader036.vdocument.in/reader036/viewer/2022070402/56649f255503460f94c3c069/html5/thumbnails/28.jpg)
© 2007 by Prentice Hall8-28
8.25 Radio buttons on the form
![Page 29: © 2007 by Prentice Hall8-1 Introduction to Oracle 10g Chapter 8 Understanding and Using Forms Builder James Perry and Gerald Post](https://reader036.vdocument.in/reader036/viewer/2022070402/56649f255503460f94c3c069/html5/thumbnails/29.jpg)
© 2007 by Prentice Hall8-29
8.26 Setting the initial properties for a tabular form
Creating tabular forms
![Page 30: © 2007 by Prentice Hall8-1 Introduction to Oracle 10g Chapter 8 Understanding and Using Forms Builder James Perry and Gerald Post](https://reader036.vdocument.in/reader036/viewer/2022070402/56649f255503460f94c3c069/html5/thumbnails/30.jpg)
© 2007 by Prentice Hall8-30
8.27 Tabular design for license status values
![Page 31: © 2007 by Prentice Hall8-1 Introduction to Oracle 10g Chapter 8 Understanding and Using Forms Builder James Perry and Gerald Post](https://reader036.vdocument.in/reader036/viewer/2022070402/56649f255503460f94c3c069/html5/thumbnails/31.jpg)
© 2007 by Prentice Hall8-31
8.28 Creating a relationship for a main/sub form
Creating a main with sub form
![Page 32: © 2007 by Prentice Hall8-1 Introduction to Oracle 10g Chapter 8 Understanding and Using Forms Builder James Perry and Gerald Post](https://reader036.vdocument.in/reader036/viewer/2022070402/56649f255503460f94c3c069/html5/thumbnails/32.jpg)
© 2007 by Prentice Hall8-32
8.29 Initial main form and sub form design
![Page 33: © 2007 by Prentice Hall8-1 Introduction to Oracle 10g Chapter 8 Understanding and Using Forms Builder James Perry and Gerald Post](https://reader036.vdocument.in/reader036/viewer/2022070402/56649f255503460f94c3c069/html5/thumbnails/33.jpg)
© 2007 by Prentice Hall8-33
Table 8.2: Properties to change to add a display column
Property Value
Name FIRSTNAME
Enabled No
Column Name FIRSTNAME
Query Only Yes
Prompt First Name
![Page 34: © 2007 by Prentice Hall8-1 Introduction to Oracle 10g Chapter 8 Understanding and Using Forms Builder James Perry and Gerald Post](https://reader036.vdocument.in/reader036/viewer/2022070402/56649f255503460f94c3c069/html5/thumbnails/34.jpg)
© 2007 by Prentice Hall8-34
Table 8.3: Common entries for format masks
Formatting Character Display Effect
X Any character or digit.
A Only alphabetic characters.
9 Only numbers.
0 Only numbers and displays leading zeros.
YYYY Four digit year.
MM Two digit year number.
DD Day of month.