|
|
|
|
Re: Dynamic list item [message #522335 is a reply to message #522291] |
Thu, 08 September 2011 10:07 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
![](http://www.orafaq.com/forum/images/custom_avatars/166871.jpg) |
Baranor
Messages: 83 Registered: September 2011 Location: Netherlands
|
Member |
|
|
Here you go:
declare
t_year number(4) := 1994;
BEGIN
--clear the list
Delete_List_Element('YEARS',1);
--loop ten times
FOR I IN 1..10 LOOP
--add item in list
Add_List_Element('YEARS', I, t_year,t_year );
--up the year by one
t_year := t_year+1;
END LOOP;
END;
shoudl keep you covered till 9999
[Updated on: Thu, 08 September 2011 10:09] Report message to a moderator
|
|
|
|