Referencing Oracle Forms Objects by Name
To reference a Oracle Forms object by name in a PL/SQL
statement:
- Enclose the object name in single quotes:
'form_module_name'
'block_name'
'window_name'
For example, when you call the procedure RESIZE_WINDOW, you must pass
the name of the window to be resized as the first parameter. The window name
must be enclosed in single quotes:
Resize_Window('status_window',50,35);
To reference an item by name:
- Include the name of the block to which the item belongs to form a fully-qualified
name:
'block_name.item_name'
For instance, when you call the GO_ITEM Built-in procedure to move the
input focus to a different item, you pass GO_ITEM the name of the target item:
Go_Item('customer.cust_id');
To reference a specific column in a record group:
- 'record_group_name.column_name'
To reference an item that was a component of a column object
or a REF column:
- Include the column name as well as the block name. For object components,
the connector between column name and item name is an underscore:
'blockname.columnname_itemname'