Download as pdf or txt
Download as pdf or txt
You are on page 1of 18

Arab Academy for Science and Technology and Maritime Transport

College of Computing and Information Technology


AAST : CSP : Oracle Courses : Developer

Oracle Developer
05. List Of Values and Editors

AzzaShoukr
Arab Academy for Science and Technology and Maritime Transport
College of Computing and Information Technology
AAST : CSP : Oracle Courses : Developer
5. List Of Values and Editors

Lab Content

•Creating Record Groups Based on Query


•Creating Static Record Group
•Creating List of Values Based on Record Groups
•Validate From List Property
•Creating Editors
•Assigning Editors to Items

AzzaShoukr
Arab Academy for Science and Technology and Maritime Transport
College of Computing and Information Technology
AAST : CSP : Oracle Courses : Developer
5. List Of Values and Editors

•Creating Record Groups Based on Query

Write select statement based on


Table in database

The output of the select statement will be displayed


In you list

AzzaShoukr
Arab Academy for Science and Technology and Maritime Transport
College of Computing and Information Technology
AAST : CSP : Oracle Courses : Developer
5. List Of Values and Editors

•Creating Record Groups Based on Query

Open Record Group Property Palette


To name the RG and to edit your query

AzzaShoukr
Arab Academy for Science and Technology and Maritime Transport
College of Computing and Information Technology
AAST : CSP : Oracle Courses : Developer
5. List Of Values and Editors

•Creating List Of Values Based on the Record Group

Select the record group


That will be displayed in this list

AzzaShoukr
Arab Academy for Science and Technology and Maritime Transport
College of Computing and Information Technology
AAST : CSP : Oracle Courses : Developer
5. List Of Values and Editors

•Creating List Of Values Based on the Record Group

Modify the record group :


Any change in the select statement will modify
the select statement written in the record group

Create new record group :


Oracle form will take a copy from you
select statement and modify the select with any
Change and store it in new record group

AzzaShoukr
Arab Academy for Science and Technology and Maritime Transport
College of Computing and Information Technology
AAST : CSP : Oracle Courses : Developer
5. List Of Values and Editors

•Creating List Of Values Based on the Record Group

You can edit your query


Or to re write the query by using the query Builder
In Build SQL Query

Or
You can import SQL query from a saved file

Check Syntax
To check you syntax in the select statement

AzzaShoukr
Arab Academy for Science and Technology and Maritime Transport
College of Computing and Information Technology
AAST : CSP : Oracle Courses : Developer
5. List Of Values and Editors

•Creating List Of Values Based on the Record Group

All columns in record group


Will be displayed in the List of values

AzzaShoukr
Arab Academy for Science and Technology and Maritime Transport
College of Computing and Information Technology
AAST : CSP : Oracle Courses : Developer
5. List Of Values and Editors

•Creating List Of Values Based on the Record Group

Select return item for each returned value

AzzaShoukr
Arab Academy for Science and Technology and Maritime Transport
College of Computing and Information Technology
AAST : CSP : Oracle Courses : Developer
5. List Of Values and Editors

•Creating List Of Values Based on the Record Group


Write list title
List total width
List height

List position

AzzaShoukr
Arab Academy for Science and Technology and Maritime Transport
College of Computing and Information Technology
AAST : CSP : Oracle Courses : Developer
5. List Of Values and Editors

•Creating List Of Values Based on the Record Group


Retrieve 0 means the array size is the default = 20
Refresh record group data when the user
Ask for displaying the list of values
Oracle refresh the record group from the table

Let the user filter records


The LOV will be displayed empty , the user has
to write search condition

AzzaShoukr
Arab Academy for Science and Technology and Maritime Transport
College of Computing and Information Technology
AAST : CSP : Oracle Courses : Developer
5. List Of Values and Editors

•Creating List Of Values Based on the Record Group


Assign the list to the deptno column
To appear in runtime

AzzaShoukr
Arab Academy for Science and Technology and Maritime Transport
College of Computing and Information Technology
AAST : CSP : Oracle Courses : Developer
5. List Of Values and Editors

•Creating List Of Values Based on the Record Group

In the deptno column


The list will appear as a button
Click the button
Select deptno from the list
Click ok
The new number will be returned to
the deptno column

AzzaShoukr
Arab Academy for Science and Technology and Maritime Transport
College of Computing and Information Technology
AAST : CSP : Oracle Courses : Developer
5. List Of Values and Editors

•Creating List Of Values Based on the Record Group


Set Validate from list = yes
To ensure that the user will select value
From the valid values
In you list

AzzaShoukr
Arab Academy for Science and Technology and Maritime Transport
College of Computing and Information Technology
AAST : CSP : Oracle Courses : Developer
5. List Of Values and Editors

•Creating List Of Values Based on the Record Group


To display list of values button in runtime
D:\app\Middleware\user_projects\domains\ClassicDomain\config\fmwconfig\servers\WLS_FORMS\
applications\formsapp_11.1.2\config\forms\registry\oracle\forms\registry

AzzaShoukr
Arab Academy for Science and Technology and Maritime Transport
College of Computing and Information Technology
AAST : CSP : Oracle Courses : Developer
5. List Of Values and Editors

•Creating Static Record Group

AzzaShoukr
Arab Academy for Science and Technology and Maritime Transport
College of Computing and Information Technology
AAST : CSP : Oracle Courses : Developer
5. List Of Values and Editors

•Creating Editors

AzzaShoukr
Arab Academy for Science and Technology and Maritime Transport
College of Computing and Information Technology
AAST : CSP : Oracle Courses : Developer
5. List Of Values and Editors

•Assign Editors to items

AzzaShoukr

You might also like