oracle forms :object features in forms

13
Oracle Object Features In Forms http:// ebiztechnics.blogspot.com

Upload: sekhar-byna

Post on 10-Feb-2017

693 views

Category:

Software


1 download

TRANSCRIPT

Page 1: Oracle Forms :Object Features In forms

Oracle Object FeaturesIn Forms

http://ebiztechnics.blogspot.com

Page 2: Oracle Forms :Object Features In forms

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

Page 3: Oracle Forms :Object Features In forms

What is an Object Type?

interest

Close

withdraw

Check status

Attributes

Methods

ACCOUNTAc_no

Ac_typeDeposit

Open_date

http://ebiztechnics.blogspot.com

Page 4: Oracle Forms :Object Features In forms

Overview on Objects

• Object tables• Object columns• Object views• REF Columns

REF

http://ebiztechnics.blogspot.com

Page 5: Oracle Forms :Object Features In forms

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

Page 6: Oracle Forms :Object Features In forms

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

Page 7: Oracle Forms :Object Features In forms

Creating Data Blocks

• Blocks based on object tables• Blocks based on object columns• Blocks with REF Lookups

http://ebiztechnics.blogspot.com

Page 8: Oracle Forms :Object Features In forms

Block Based on Object Tables

http://ebiztechnics.blogspot.com

Page 9: Oracle Forms :Object Features In forms

Block Based on Object Columns

http://ebiztechnics.blogspot.com

Page 10: Oracle Forms :Object Features In forms

Blocks with REF Lookups

http://ebiztechnics.blogspot.com

Page 11: Oracle Forms :Object Features In forms

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

Page 12: Oracle Forms :Object Features In forms

LOVs for REFs

http://ebiztechnics.blogspot.com

Page 13: Oracle Forms :Object Features In forms

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