|
|
Re: how to populate an multiple list item in d2k [message #118956 is a reply to message #118861] |
Mon, 09 May 2005 23:03 |
manjuvasu
Messages: 22 Registered: May 2005
|
Junior Member |
|
|
i want to populate the list with some values.that is, the block has 5 as no. of.records displayed.so,the first 5 records will be displayed at runtime and when u scroll down, the next records can be viewed.in that, for a single record say oprn it has multiple tools to be displayed or it may be single tool.it is like this
oprn oprndesc tool(list item)
(text item) (text item)
10 ex t1
20 test t2
t3
i have kept tool as list item(multi).so for oprn 10,the list should show t1 and for 20- as t2&t3.
|
|
|
|
|
|
|
Re: how to populate an multiple list item in d2k [message #119180 is a reply to message #119014] |
Wed, 11 May 2005 01:08 |
subba lakshmi
Messages: 36 Registered: March 2005
|
Member |
|
|
i have taken a scenario like this -
whenever i give mgr then corresponding employees working under that mgr should be displayed in a list box.
1 text box and 1 list box.
on textbox post-text-item trigger is -
declare
cursor eno is select empno from emp where mgr=:block3.mgrno;
ind number(2):=0;
begin
clear_list('empno');
for i in eno
loop
ind:=ind+1;
add_list_element('empno',ind,i.empno,i.empno);
end loop;
end;
check this out and modify wherever needed
from
lakshmi
|
|
|