DISPLAY_ITEM built-in in Oracle D2k Forms

DISPLAY_ITEM built-in in Oracle D2k Forms

Description
Maintained for backward compatibility only. For new applications, you should use the
SET_ITEM_INSTANCE_PROPERTY built-in. DISPLAY_ITEM modifies an item’s appearance by
assigning a specified display attribute to the item. DISPLAY_ITEM has the side-effect of also changing
the appearance of any items that mirror the changed instance. SET_ITEM_INSTANCE_PROPERTY
does not change mirror items.
You can reference any item in the current form.
Any change made by a DISPLAY_ITEM built-in is effective until:
·  the same item instance is referenced by another DISPLAY_ITEM built-in, or
·  the same item instance is referenced by the SET_ITEM_INSTANCE_PROPERTY built-in (with
VISUAL_ATTRIBUTE property), or
·  the instance of the item is removed (e.g., through a CLEAR_RECORD or a query), or
·  you modify a record (whose status is NEW), navigate out of the record, then re-enter the record, or
·  the current form is exited
Syntax
PROCEDURE DISPLAY_ITEM
(item_id ITEM,
attribute VARCHAR2);
PROCEDURE DISPLAY_ITEM
(item_name VARCHAR2,
attribute VARCHAR2);
Built-in Type unrestricted procedure
Enter Query Mode yes
Parameters
item_id Specifies the unique ID that Form Builder assigns to the item when it
creates the item. The data type of the ID is ITEM.
item_name Specifies the VARCHAR2 string you gave to the item when you created it.
attribute Specifies a named visual attribute that should exist. You can also specify a
valid attribute from your Oracle*Terminal resource file. Form Builder will
search for named visual attribute first. Note: You can specify Normal as
a method for applying the default attributes to an item, but only if your
form does not contain a visual attribute or logical (character mode or
otherwise) called Normal. You can also specify NULL as a method for
returning an item to its initial visual attributes (default, custom, or named).
DISPLAY_ITEM examples
/*
** Built-in: DISPLAY_ITEM

** Example: Change the visual attribute of each item in the
** current record.
*/
DECLARE
cur_itm VARCHAR2(80);
cur_block VARCHAR2(80) := :System.Cursor_Block;
BEGIN
cur_itm := Get_Block_Property( cur_block, FIRST_ITEM );
WHILE ( cur_itm IS NOT NULL ) LOOP
cur_itm := cur_block||’.’||cur_itm;
Display_Item( cur_itm, ’My_Favorite_Named_Attribute’);
cur_itm := Get_Item_Property( cur_itm, NEXTITEM );
END LOOP;
END;

时间: 2024-10-14 04:29:06

DISPLAY_ITEM built-in in Oracle D2k Forms的相关文章

Using GET_APPLICATION_PROPERTY in Oracle D2k Forms

Using GET_APPLICATION_PROPERTY in Oracle D2k Forms DescriptionReturns information about the current Form Builder application. You must call the built-in once for eachvalue you want to retrieve.Usage NotesTo request a complete login, including an appe

Reading Csv Files with Text_io in Oracle D2k Forms

Below is the example to read and import comma delimited csv file in oracle forms with D2k_Delimited_String package. This package is available in D2kdlstr.pll library. To download D2kdlstr.Pll Click Here Create the following procedure in program unit

Pre-Query trigger in Oracle D2k / Oracle Forms

Pre-Query trigger in Oracle D2k / Oracle Forms DescriptionFires during Execute Query or Count Query processing, just before Form Builder constructs and issuesthe SELECT statement to identify rows that match the query criteria.Definition Level form or

Obtaining Query Count Without executing a Query in Oracle D2k

Obtaining Query Count Without executing a Query in Oracle D2k Obtaining a count of records that will be retrieved by EXECUTE_QUERY before actually performing it in a database block is especially useful when the requirement is to prevent navigation to

Using Call_Form in Oracle D2k

Using Call_Form in Oracle D2k CALL_FORM examples/* Example 1:** Call a form in query-only mode.*/BEGINCALL_FORM('empbrowser', no_hide, no_replace, query_only);END;/* Example 2:** Call a form, pass a parameter list (if it exists)*/DECLAREpl_id PARAMLI

Using Text_IO To Read Files in Oracle D2k

Suppose you want to read a file from D2k client and want to store its content in Oracle database. But if you will insert row by row from client to server it will take more time and increase lot of network traffic / round trips. The solution of this p

Find Current Job Openings For Oracle Forms & Reports

Oracle Form & Reports developer jobs are always in demand, candidates who have Oracle D2k, Oracle Forms & Reports, PLSQL set of skills can find the job through the following links: http://jobsearch.naukri.com/oracle-forms-and-reports-jobs http://j

oracle EBS上传和下载文件(转)

最近一直在做一个工作流的项目,最终用户要求在发送消息的时候可以附带附件,这个又是给我的一个难题.在网上查了一下ORACLE上传资料,找到了黄建华前辈写的<Oracle EBS Forms开发指南(中级)>的资料有关于附件开发的内容,真的是不得不佩服黄建华前辈的厉害啊. 言归正传,按照<Oracle EBS Forms开发指南(中级)>中的介绍就可以轻松的实现客户化FORM添加附件的功能,好现在把上传的功能实现了,要如何实现已上传的文件在最终用户想查看该附件的时候现在下来呢?这个又是

adpatch options=hotpatch

--no need to shutdown application and no need to enable maintenance mode find . -name FAS420.rdf -bash-3.2$ strings -a ./fa/12.0.0/reports/US/FAS420.rdf|grep '$Header' SQL> select bug_id,application_short_name from ad_bugs where bug_number='9287896';