【问题标题】:Populate listbox item in oracle forms在 oracle 表单中填充列表框项
【发布时间】:2013-12-03 07:01:19
【问题描述】:

我有一个列表框项目,我已将列表样式更改为组合框。

我需要用表格中的值填充组合框。

请帮忙。

【问题讨论】:

    标签: oracle oracleforms


    【解决方案1】:

    只需像这样将其填充为普通列表框:

    declare 
      v_rg_id recordgroup; 
      V_errorcode number; 
    Begin 
      v_rg_id :=find_group('xyz'); 
    
      if id_null(v_rg_id) then 
        v_rg_id := create_group_from_query('xyz',
                    'Select distinct ename, ename from emp'); 
        v_errorcode := populate_group(v_rg_id); 
    
        If v_errorcode=0 then 
          message('Record group populated with data'); 
        else 
          message('V_errorcode is:' || v_errorcode); 
        end if; 
      End if; 
    
      populate_list('Last_name_list',v_rg_id); 
    end; 
    

    【讨论】:

      猜你喜欢
      • 2019-12-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-06-21
      • 2018-09-07
      • 2016-02-29
      • 2020-01-06
      • 1970-01-01
      相关资源
      最近更新 更多