3 Replies Latest reply: Jan 15, 2013 2:26 AM by HamidHelal RSS

    HOW TO POPULATE A LIST ITEM FROM  DATABASE TABLE:

    979801
      --Hello..I want to ask that How to bind a list item with  table values? this below code does not populate items from database to list item.Pls any body give me solution.
      declare
           group_id RecordGroup;
           list_id Item:=Find_Item('LST_CLASS');
           status number;
      begin
           group_id:=Create_Group_From_Query('Answer_List','select CLASS_ID,CLASS_NM from CLASS_MSTR');
           status:=Populate_Group('Answer_List');
           message(to_char(status));
           Populate_List(list_id,group_id);
           end;