Re: ***URGENT**. Populate the List item with a record group
From: Donald G. Bowles <yankee_at_digital.net>
Date: 1995/12/31
Message-ID: <4c6553$2s7_at_ddi2.digital.net>#1/1
Date: 1995/12/31
Message-ID: <4c6553$2s7_at_ddi2.digital.net>#1/1
Make sure that the record group returns both a label and a value. For example, if you wanted to display the employee name on the form and store the employee number your record group select statement would be like:
Select employee_name, employee_number from employees
To populate the list item with the record group at run time you must first populate the record group, i.e. fire the select statement. to do this use the function POPULATE_GROUP.
Declare
group NUMBER;
Begin
group := POPULATE_GROUP('MY_RECORD_GROUP');
/* a 1 is returned to the variable group on success */
POPULATE_LIST('MY_LIST','MY_RECORD_GROUP');
END;
Hope this helps you.
Don Received on Sun Dec 31 1995 - 00:00:00 CET