P. 1
8- Oracle Fusion Middle Ware 11g Build Applications With Oracle Forms Vol 2

8- Oracle Fusion Middle Ware 11g Build Applications With Oracle Forms Vol 2

|Views: 5,693|Likes:
Published by buddykutti

More info:

Published by: buddykutti on Dec 20, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

11/24/2014

pdf

text

original

Triggers:
•When-List-Changed
•When-List-Activated
Built-ins:
•ADD_LIST_ELEMENT
•DELETE_LIST_ELEMENT

Excellent

Excellent

Good

Poor

Index

1

2

3

Changing List Items at Run Time

You can use the When-List-Changed trigger to trap user selection of a list value. For Tlists,
you can trap double-clicks with When-List-Activated.

With Forms Builder, you can also change the selectable elements in a list as follows:
•Periodically update the list from a two-column record group.
•Add or remove individual list elements through the ADD_LIST_ELEMENTand
DELETE_LIST_ELEMENTbuilt-ins, respectively:
ADD_LIST_ELEMENT('list_item_name', index, 'label',
'value');
DELETE_LIST_ELEMENT('list_item_name',index);

Note:You can eliminate the Null list element of a list by changing Required to Yes.
At run time, when the block contains queried or changed records,Forms may not allow you
to add or delete elements from a list item.

Parameter

Description

Index

Number identifying the element position in the list (top is 1)

Label

The name of the element

Value

The new value for the element

Oracle Fusion Middleware 11g: Build Applications with Oracle Forms 16 -9

Copyright ©2009, Oracle. All rights reserved.

16 -9

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->