Populate A List Item with the Record Group in Oracle Forms Using populate_list and Create_group_from_query Command

Source: Internet
Author: User

Example is given below to Populate a List Item in Oracle Forms using Create_group_from_query, Populate_list and Populate_ Group command. In this example you can specify the query at run time to populate the list item with that query result.   Following is the screen shot for this example     You can also download this Oracle Form FMB from Google Drive with the following link LISTITEM.FMB   The following are the code written on the ' Populate List with the Above Q Uery "button:   DECLARE    rg_name   VARCHAR2 (+): = ' dyngrp ';    rg_id     Recordgroup;    errcode   number; BEGIN    * *    * * Sure group doesn ' t already exist    */   rg_id: = Find_gro Up (Rg_name);     /*    * * IF It exists then delete it first and then re-create it.    * *    if not id_null (rg_id) then     Delete_group (rg_id);         End If;    rg_id: = Create_group_from_query (Rg_name,: txtqry); /* * * * * Populate the Record Group */Errcode: = Populate_group (rg_id);  Clear_list (' olist ');  Populate_list (' olist ', ' dyngrp '); END;

Populate A List Item with the Record Group in Oracle Forms Using populate_list and Create_group_from_query Command

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.