list items [message #115765] |
Thu, 14 April 2005 05:17  |
jon005
Messages: 1 Registered: April 2005
|
Junior Member |
|
|
I have a problem filling my list box.
After I press a button, I want to fill my list box with data that is on my form.
But what has to be my query when I want to fill my list box?
I hope that someone can help me!
|
|
|
Re: list items [message #115768 is a reply to message #115765] |
Thu, 14 April 2005 06:09  |
 |
Maaher
Messages: 7065 Registered: December 2001
|
Senior Member |
|
|
From help:
Oracle Forms 6i Help |
DECLARE
group_id RecordGroup;
list_id Item := Find_Item('list_item1');
status NUMBER;
BEGIN
/*
** Create a two column query record group called
** product_name.
*/
group_id := Create_Group_From_Query('product_names','SELECT
product.name, product.name FROM product');
status := Populate_Group('product_names');
/*
** Populate the list item with the values from the
** product_name record group.
*/
Populate_List(list_id,group_id);
END;
|
HTH,
MHE
|
|
|