2. Objectives
• Identify which object types are supported
• Describe how object types are
represented within Form Builder
• Create a block based on an object table
• Create a block based on a relation table
with an object or an REF column
• Populate a REF column with an LOV
http://ebiztechnics.blogspot.com
3. What is an Object Type?
interest
Close
withdraw
Check
status
Attributes
Methods
ACCOUNT
Ac_no
Ac_type
Deposit
Open_date
http://ebiztechnics.blogspot.com
5. Oracle 8i Features in Forms
Supported Oracle8i features
• Large Objects: BLOB, CLOB, NCLOB, BFILE
• User-defined objects
– Object table
– Column object
– REF column
Unsupported Oracle8i features
• Collection types
• Stored procedures that return object values
http://ebiztechnics.blogspot.com
6. How Form Treats Objects
Object_B
Attr_B1
Attr_B2
Attr_A3
Nested Objects
Attr_A1
Attr_A2
Object_A
Attr_A1
Object_A
Attr_A3
Attr_A2_B1
Attr_A2_B2
Items in a Form
http://ebiztechnics.blogspot.com
7. Creating Data Blocks
• Blocks based on object tables
• Blocks based on object columns
• Blocks with REF Lookups
http://ebiztechnics.blogspot.com
8. Block Based on Object Tables
http://ebiztechnics.blogspot.com
9. Block Based on Object Columns
http://ebiztechnics.blogspot.com
11. Using REF Lookup Value
Select REF attribute columns: This causes the
columns to appear as data items at run-time.
Select the REF item itself:
• This causes the item to be placed on a Null canvas.
• The item does not appear at run time.
• The item is available for coding purposes.
http://ebiztechnics.blogspot.com
13. Summary
• Identify supported Oracle8i object types
• Define data blocks based on object tables
• Define data blocks based on tables
with object columns or REF columns
• Populate REF columns with an LOV
http://ebiztechnics.blogspot.com