Home » Developer & Programmer » Forms » List Items Urgent Help plz.
List Items Urgent Help plz. [message #87164] Fri, 10 December 2004 21:20 Go to next message
orcl_dev
Messages: 14
Registered: November 2004
Junior Member
Hello to al of you..

 I have a list item of type Combo Box.

i want ot add item in the combo box whenever the ADD button is pressed

i have used add_list_element('listname' , 1 , 1994, 1994);

but no result..

Perhaps i m unable to understand the List index means. and list lable..

and also what is to be given to initial value property..

what is the index value.. etc.. and what is this label..

like in VB whenever we select a value from a comboox. in code

we write.. like..

Comboboxname.text...

in forms 6i how can we refer to the selected value

i m confused

Plz help it out..

Best Regards.

 

 
Re: List Items Urgent Help plz. [message #87171 is a reply to message #87164] Sat, 11 December 2004 22:30 Go to previous messageGo to next message
aditya
Messages: 36
Registered: March 2001
Member
see the list index is to be incremented so that the value you are inserting will be placed at that index. and u said that u r well aware of VB so there is a property for the combobox called listindex go through that both of them are same.
Re: List Items Urgent Help plz. [message #87205 is a reply to message #87171] Tue, 14 December 2004 00:09 Go to previous message
Niranjan
Messages: 34
Registered: June 2001
Member
what u have used is right only thing u need to increase the list index at run time i.e.

declare
n number;
begin
n:=get_list_element_count('name of list box');
add_list_element
('name of list box',
n,
label_u_want_to_add,
value_u_want_to_return
);
end;

hope this helps u.
Previous Topic: how to insert new/next record?
Next Topic: insert data ta table from file
Goto Forum:
  


Current Time: Sun Sep 08 03:48:06 CDT 2024