Home » Developer & Programmer » Forms » Get selected items
Get selected items [message #84787] Mon, 26 April 2004 15:10 Go to next message
David Izzard
Messages: 3
Registered: April 2004
Junior Member
Can anyone tell me how to get all the selected items in a list box, but only the selected items?

Thanks in advance,

Dave
Re: Get selected items [message #84789 is a reply to message #84787] Mon, 26 April 2004 18:07 Go to previous messageGo to next message
Inderjeet Singh
Messages: 13
Registered: April 2004
Junior Member
Hi,
pls clarify your question. Its not clear.

Rgds
Inderjeet Singh
Re: Get selected items [message #84800 is a reply to message #84789] Tue, 27 April 2004 07:01 Go to previous messageGo to next message
David Izzard
Messages: 3
Registered: April 2004
Junior Member
Hi Inderjeet,

I have two list boxes, one that is empty and one which has items in it. The user can select one or more items from the second list box and add them to the first list box. How do I get the values of the items the user has selected? Please note that the user should be able to select multiple items from the second list box.

Thanks,
Dave
Re: Get selected items [message #84804 is a reply to message #84800] Wed, 28 April 2004 19:42 Go to previous message
Inderjeet Singh
Messages: 13
Registered: April 2004
Junior Member
Hi Dave,
There is an built-in array in forms for all the selected items in a list box, you can use that to pick up all the multiple selected values from the second list then add them one-by-one in your first list.

Other option is, just add the selected values from the second list in a dynamic record group & then use the record group to populate the other list item

Inderjeet Singh
Previous Topic: Urgent! frm-40200 with create_record
Next Topic: HOW TO SEND EMAIL FROM ORACLE FORMS 6i IN THE ORACLE 7.3.4?
Goto Forum:
  


Current Time: Mon May 20 16:20:53 CDT 2024