daogu

saniao
December 9, 2010

populate list element at run time

Posted by : admin
Filed under : Forms

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.


Answer:And what happens when you run the program when you don’t have this code in your form?

David

Related posts:

  1. Populate List hello experts i am working in forms 6i. what...
  2. Populate List Item Hi I have coded the following at form level...
  3. FRM-41337 when I try to populate second list item Hi, I have a form which contains two list...
  4. Dynamically populate 2nd drop down list based on the 1st list value Hi All, Im trying to populate list based on...
  5. how attach list item values based on another list item Hi Friends, I want to add list item values...


No Comments

(required)
(will not be published) (required)
(opitional)