Professional Documents
Culture Documents
10g
Chapter 5:
Introduction To Form Builder
Forms
Forms
Viewing/retrieving records
Inserting/updating/deleting
records
Counting the number of
records a query will retrieve
Form Modes
Normal
Enter Query
Retrieving Records
If you click
, do not enter a search
condition, and then click
, all table
records will be retrieved
10
11
Restricted Search
Operators
Scrolling Through
Retrieved Records
13
14
.fmb
.fmx
15
Form Components
Form Components
Canvas
Block
Form items
Form Components
Name
Cash
Window
Canvas
Block of items
Check
Credit Card
18
Object Navigator
19
Steps:
1. Create the data block using
the Data Block Wizard
2. Create the form layout using
the Layout Wizard
20
Welcome page
Type page
Table page
Finish page
Layout Wizard
Canvas page
Items page
Style page
22
Layout Styles
Form style
Tabular style
23
You can select a block or layout, then reenter it and modify its properties using the
Wizard
A Wizard is in re-entrant mode when its
pages appear as tabs
24
Form Builder
Object Navigator
Window
Shows form objects
Allows developer to access form
objects
Object Navigator has 2 views
Window
Title
Minimize/
Maximize buttons
Window
size
27
Property
Nodes
Property List
29
Intersection Property
Palette
30
Frame Properties
Update Layout
Automatically
Manually
Locked
31
Multiple-Table Forms
32
Master-Detail Forms
Master block
Detail block
33
Creating a Master-Detail
Form
Create the
master block
first
Specify the
relationship
on the Data
Block Wizard
Master-Detail
page of the
detail block
34
Complex Master-Detail
Relationships
35
Complex Master-Detail
Relationship Example
Master
Detail
Detail
Master
36
37
38
Value
Format Mask
Result
7945
999
###
7945
9999$
7945$
7945
99-99
79-45
34.28
99.9
34.3
34.28
99.999
34.280
SYSDATE Day-MON-YY Friday-NOV-06
39
Form Triggers
Clicking a button
Loading a form
Exiting a form
Creating a trigger:
select the form or form item event
type the trigger code
:block_name.item_name
LOV
display
43
1.
2.
45
Creating a Command
Button to Open the LOV
Create a command button on
Display
the canvas
Iconic button
Displays an icon image from an .ico
file
Complete path to .ico file must be
specified in buttons ICON property
46
1.
GO_ITEM(IN_VID);
2.
LIST_VALUES;
47
Radio buttons
Check boxes
48
Radio Buttons
49
Radio Groups
Related radio
buttons are part
of a radio group
Radio group
Individual related
radio buttons
50
2.
3.
4.
5.
Radio
RadioButton
ButtonValue:
Value:
associated
associateddata
datavalue
valuein
in
the
thedatabase
database
52
Initial
InitialValue:
Value: data
datavalue
value
of
ofthe
theradio
radiobutton
button
within
the
radio
within the radiogroup
group
that
is
selected
when
that is selected when
the
theform
formfirst
firstappears
appears
53
Check Boxes
54
55
2.
3.
56
57