populate list element at run time [message #340052] |
Mon, 11 August 2008 04:38 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
krishna_g
Messages: 1 Registered: August 2008
|
Junior Member |
|
|
DECLARE
CURSOR COUNTRY_CURSOR IS SELECT COUNTRY_NAME,CNTRY FROM COUNTRY;
BEGIN
FOR COUNTRY_REC IN COUNTRY_CURSOR
LOOP
ADD_LIST_ELEMENT('COUNTRY',(COUNTRY_CURSOR%ROWCOUNT)+1,
COUNTRY_REC.COUNTRY_NAME,COUNTRY_REC.CNTRY);
END LOOP;
END;
I want to populate the list items at run time. I wrote the above code in when-new-form-instance trigger. But when I run the form I recived a error
FRM-30085: Unable to adjust form for output.
|
|
|
|