我尝试编写代码来填充我在 oracle 表单生成器中的列表项。
我通过编写一个函数来处理它。
list_index number(10) := 1;
clear_list(list_item1);
FOR I IN (Select id,desc FORM table1)
LOOP
ADD_LIST_ELEMENT('list_item1',list_index,desc,id);
list_index := list_index + 1;
END LOOP
list_item1 := get_list_element_value('list_item1',1);
我的输出结果是这样的:
x1
x2
x3
x4
<a blank field>
但在我的数据库表中,我只有
x1
x2
x3
x4
请你帮我看看我的问题是什么,我的列表项中有一个空间。