Set_Item_Property is used to change an object's settings at run time. Note that in some cases you can get but not set certain object properties. The following are Syntax of Set_Item_property command:SET_ITEM_PROPERTY(item_id ITEM,property NUMBER,valu…
Add combo list / drop down list item element at runtime in Oracle forms.SyntaxPROCEDURE ADD_LIST_ELEMENT(list_name VARCHAR2,list_index, NUMBERlist_label VARCHAR2,list_value NUMBER);ExampleDeclare  nElmntCount Number;Begin   -- First count the total l…
The below plsql program unit could be used in a WHEN-NEW-FORM-INSTANCE trigger to initially populate the hierarchical tree with data in Oracle forms.DECLAREhtree ITEM;v_ignore NUMBER;rg_emps RECORDGROUP;BEGIN-- Find the tree itself.htree := Find_Item…
In Oracle forms when we have two or more blocks and there is a requirement to join them or make a relation between blocks then there are certain types of relation properties available. You will find below the explanation of Master-Detail relation pro…
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.   Followi…
Write Post-Query trigger for the block you want to fetch the field value for display item.ExampleBegin   Select Ename into :datablock.dspname      from emp      where ecode = :datablock.ecode;   -- Field dspname in datablock will be populated with th…
SYSTEM.CURSOR_BLOCK Determining current block in Oracle Forms Using SYSTEM.CURSOR_BLOCK system variable. The value that the SYSTEM.CURSOR_BLOCK system variable represents depends on the current navigation unit:If the current navigation unit is the bl…
Sets the Report object property at run time in Oracle Forms of an report object. The following are the Syntax of Set_Report_Object_Property:PROCEDURE SET_REPORT_OBJECT_PROPERTY(report_id REPORT_OBJECT,property NUMBER,value VARCHAR2);PROCEDURE SET_REP…
Highlight a Text Item in Oracle Forms With Visual Attribute It is very necessary to highlight the current cursor text item in data entry forms so that a user can easily notice the current item. Steps to highlight current item 1.   Create a visual att…
Suppose you have two T-List items in form and you want  to shift element values from one list to another in Oracle Forms, here is the example given below for the same. Create two buttons also between list items as shown in picture in the bottom of th…