Adding List Item Element At Runtime In Oracle Forms
Posted ORACLE EBS
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Adding List Item Element At Runtime In Oracle Forms相关的知识,希望对你有一定的参考价值。
Add combo list / drop down list item element at runtime in Oracle forms.
Syntax
PROCEDURE ADD_LIST_ELEMENT
(list_name VARCHAR2,
list_index, NUMBER
list_label VARCHAR2,
list_value NUMBER);
Example
Declare
nElmntCount Number;
Begin
-- First count the total list element currently in list item
nElmntCount := Get_list_element_count(‘yourlist‘);
-- Then add it by adding + 1 to total count element
Add_list_element(‘yourlist‘, nElmntCount + 1, ‘A Value‘, ‘A Value‘);
End;
See also: http://www.foxinfotech.in/2013/04/adding-value-combolist-runtime-oforms.html
Syntax
PROCEDURE ADD_LIST_ELEMENT
(list_name VARCHAR2,
list_index, NUMBER
list_label VARCHAR2,
list_value NUMBER);
Example
Declare
nElmntCount Number;
Begin
-- First count the total list element currently in list item
nElmntCount := Get_list_element_count(‘yourlist‘);
-- Then add it by adding + 1 to total count element
Add_list_element(‘yourlist‘, nElmntCount + 1, ‘A Value‘, ‘A Value‘);
End;
See also: http://www.foxinfotech.in/2013/04/adding-value-combolist-runtime-oforms.html
以上是关于Adding List Item Element At Runtime In Oracle Forms的主要内容,如果未能解决你的问题,请参考以下文章
下列代码的功能是利用散列函数hash将一个元素插入到散列表ht[]中。其中list类型的结点包含element类型的项item以及一个next指针。如果插入成功,则函数返回1,否则返回0。
解决element-ui 下拉el-dropdown-item添加点击事件@click无效
React报错:Error: Element type is invalid: expected a string (for built-in components) or a class/funct