Professional Documents
Culture Documents
Oracledevelopertutorialapr10 W o Designer
Oracledevelopertutorialapr10 W o Designer
Tutorial plan
Create, modify tables, insert, select data in SQL
Create interface in Oracle designer
BCIS 5420
Example:
COURSE_STUDENT
STUDENT
SID
Name
Major
100
150
200
250
300
350
400
450
Jones
Parks
Baker
Glass
Baker
Russell
Rogers
Jones
History
y
Acctg
Math
History
Acctg
Math
Acctg
History
Grade_
Level
SR
SO
GR
SR
SR
JR
FR
SR
Age
SID
CourseName
21
19
32
28
24
20
18
25
100
150
200
200
300
400
400
400
450
MIS520
ACC220
MIS520
CSI312
ACC415
ACC220
CSI312
MAT101
ACC220
COURSE
Name
ACC220
ACC415
CSI312
MAT101
MIS520
Time
Room
M-F9
BA110
MWF3
BA210
MWF8
SS213
MWF3
ES123
MWF12 BCIS4610,
BA224Spring 2009
BCIS 5420
BCIS 5420
BCIS 5420
10
BCIS 5420
11
12
BCIS 5420
13
14
BCIS 5420
Creating a layout
Layout wizard allows you to create a form layout
Click next on the welcome page and select content
canvas type
15
16
BCIS 5420
Select a layout
Select form layout
Name the frame
Select the number of students to be displayed
17
18
BCIS 5420
MODIFYING A FORM
19
20
10
BCIS 5420
21
22
11
BCIS 5420
23
24
12
BCIS 5420
25
26
13
BCIS 5420
27
28
14
BCIS 5420
29
30
15
BCIS 5420
31
32
16
BCIS 5420
33
34
17
BCIS 5420
Create an LOV
Right-click anywhere in module REGISTRATION
and select LOV wizard
Select record group based on a query
35
Create an LOV
Type in a query that would retrieve all records from table
course (do not put a semi-column at the end)
Here you will may be asked to log into the DB
36
18
BCIS 5420
Create an LOV
Select all the columns that you want to appear in you
LOV
37
Create an LOV
Specify the return value for COURSE_NAME field
Return value is a field where the course name from your LOV
will be inserted
38
19
BCIS 5420
Create an LOV
Specify title and dimensions
Specify the number of rows displayed at once
39
Create an LOV
Select COURSENAME as assigned value
Complete your LOV
40
20
BCIS 5420
Create an LOV
To test your LOV:
Run the form
Click
Cli k on
CourseName field
Press CTRL+L
41
42
21
BCIS 5420
43
44
22
BCIS 5420
45
46
23
BCIS 5420
47
48
24
BCIS 5420
49
50
25
BCIS 5420
51
52
26
BCIS 5420
53
54
27
BCIS 5420
Creating a switchboard
Create a new form
Create a control block, similar to the one in form
COURSE
Add four control buttons
Add student
Add course
Register student
Exit
55
Creating a switchboard
56
28
BCIS 5420
Creating a switchboard
Add triggers to corresponding buttons
57
Creating reports
58
29
BCIS 5420
59
60
30
BCIS 5420
61
62
31
BCIS 5420
63
64
32
BCIS 5420
65
66
33
BCIS 5420
67
68
34
BCIS 5420
69
35