1. Get rid of all advertisements and get unlimited access to documents by upgrading to Premium Membership. Upgrade to Premium Now and also get a Premium Badge!

LIST ITEM DATA BINDING WITH A TABLE in D2K..

Discussion in 'Oracle Forms and Reports' started by aadityainpccs, Dec 13, 2012.

  1. aadityainpccs

    aadityainpccs Active Member

    Messages:
    52
    Likes Received:
    2
    Trophy Points:
    160
    Location:
    New delhi (INDIA)
    How to dynamically populate a list item from database

    Hello..I want to ask that How to bind a list item with table values?
    Below Code for this purpose does not work pls give me a solution...

    DECLARE
    group_id RecordGroup;
    group_name varchar2(10) :='abc';
    status NUMBER;
    BEGIN
    group_id := find_group(group_name);
    if not id_null(group_id) then
    delete_group(group_id);
    end if;

    group_id := Create_Group_From_Query(group_name,'select DNAME,TO_CHAR(DEPTNO) from DEPT');
    /* Select statement must have two column*/
    status := Populate_Group(group_id);
    Populate_List('DUMMY.TXT_LIST',group_id);
    END;
    --here Dummy is the block name and txt_list is list item