Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Set_Item_property : Displayed
Hi
At the risk of sounding churlish, I believe people should check out the manual and/or on-line help before posting.
Having got that off my chest, below is what the manual says.
Below that is a package I use for setting
enabled/disabled properties which could
be adapted for displayed/not dispalyed
items properties.
John
ENABLED False ·sets the Navigable item
property to False ·sets the Update_NULL item property to False ·sets Updateable to False ·sets the Required item property to False DISPLAYED False ·sets the Enabled and Navigable item properties to False ·sets Updateable to False ·sets the Update_NULL item property to False ·sets the Required item property to False ·sets the Queryable item property to False UPDATEABLE True ·sets the Update_NULL item property to False UPDATE_NULL True ·sets the Updateable item property to False
PACKAGE Form_Item IS
PROCEDURE Enable_Item(p_Enabled_Item IN VARCHAR2PROCEDURE Disable_Item (p_Disable_Item IN VARCHAR2) IS
,p_Navigable IN BOOLEAN DEFAULT TRUE
,p_Required IN BOOLEAN DEFAULT TRUE
,p_Updateable IN BOOLEAN DEFAULT TRUE
,p_Update_Null IN BOOLEAN DEFAULT FALSE );
----------------------------------------------------------------------------- END; PACKAGE BODY Form_Item IS ------------------------------------------------------------------
IF NOT Id_Null(It_Id) THEN
Set_Item_Property (p_Disable_Item ,ENABLED ,Property_False);END IF;
PROCEDURE Enable_Item(p_Enable_Item IN VARCHAR2
,p_Navigable IN BOOLEAN DEFAULT TRUE
,p_Required IN BOOLEAN DEFAULT TRUE
,p_Updateable IN BOOLEAN DEFAULT TRUE
,p_Update_Null IN BOOLEAN DEFAULT FALSE )
IS t_Item_Id item; BEGIN t_Item_Id := Find_Item(p_Enable_Item);
/*
FOR UTILITY PARTNERS EMPLOYMENT
OPPORTUNITIES VISIT www.utilpart.com
e-mail: jomarlen_at_aol.com
Web Site: http://members.aol.com/jomarlen/
The views expressed in this message
are those of the author and not
necessarily those of U.P. Inc.
and/or its employees.
>Subject: Set_Item_property : Displayed >From: "Ben Carter" <b_c_at_usa.net> >Date: Fri, Oct 10, 1997 00:23 EDT >Message-id: <01bcd534$ac31ece0$8a14e68b_at_jo5141-h.fste.stu.cowan.edu.au> > >Hi, > I was just looking for some advice and help regarding items when you set >their displayed property to off, what other properties are actually >changed, and why they are not reset when you enable the displayed property. > > I would appreciate all help regarding this mater and possibly a way around >having to set each property back manually. > > Im running Oracle v7, Designing using Forms v4.5.7.0.10 and PL/SQL >v1.2.1.3.0 > > Thanks in advance for all advice, and responses would be prefered by >e-mail. > >Ben Carter > > > > > > >Received on Fri Oct 10 1997 - 00:00:00 CDT