Home » Developer & Programmer » Forms » how to populate an multiple list item in d2k
how to populate an multiple list item in d2k [message #118821] Mon, 09 May 2005 01:35 Go to next message
manjuvasu
Messages: 22
Registered: May 2005
Junior Member
i give list item in a block as no.of records displayed -5.to populate the list item at run time.how to do? it should go from first to last record.
Re: how to populate an multiple list item in d2k [message #118861 is a reply to message #118821] Mon, 09 May 2005 07:20 Go to previous messageGo to next message
subba lakshmi
Messages: 36
Registered: March 2005
Member
can you elabarate it to some extent as i don't understand whether you want to navigate the list in block or you want to fill the list with some values.

from
subba lakshmi
Re: how to populate an multiple list item in d2k [message #118956 is a reply to message #118861] Mon, 09 May 2005 23:03 Go to previous messageGo to next message
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 #118959 is a reply to message #118821] Tue, 10 May 2005 00:18 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Do you mean like this?
oprn oprndesc tool(list item)(text item) (text item)
10   ex       t1
20   test     t2   t3

or like this?
oprn oprndesc tool(list item)
(text item) (text item)
10    ex   t1
20    test t2
t3


Which do you mean? Please use the facilities available in the editor to be more explicit.

David
Re: how to populate an multiple list item in d2k [message #118961 is a reply to message #118959] Tue, 10 May 2005 00:44 Go to previous messageGo to next message
subba lakshmi
Messages: 36
Registered: March 2005
Member
sending the .fmb file and modify it according to you.

from
lakshmi
  • Attachment: mgrempno.fmb
    (Size: 44.00KB, Downloaded 1318 times)
Re: how to populate an multiple list item in d2k [message #118963 is a reply to message #118821] Tue, 10 May 2005 00:50 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Sorry but I am not permitted to download or open files from external sites. Also, I don't have all the versions of Oracle Forms on this PC.

Which layout do you want?

David
Re: how to populate an multiple list item in d2k [message #119014 is a reply to message #118821] Tue, 10 May 2005 05:12 Go to previous messageGo to next message
hsinghalmrt
Messages: 51
Registered: March 2005
Member
u should populate record group for the values at run time.
and then set it in the list item
Re: how to populate an multiple list item in d2k [message #119180 is a reply to message #119014] Wed, 11 May 2005 01:08 Go to previous message
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
Previous Topic: Record Groups VS Table types
Next Topic: write_block,write_html
Goto Forum:
  


Current Time: Thu Sep 19 18:14:17 CDT 2024