Xref: alice comp.databases.oracle.tools:18053
Path: alice!news-feed.fnsi.net!newsfeed.direct.ca!novia!sws1.ctd.ornl.gov!not-for-mail
From: "Lisa F. Miller" <luv@ornl.gov>
Newsgroups: comp.databases.oracle.tools
Subject: Re: Forms:set_item_property(item,enable true & false) w/ row context
Date: Fri, 30 Oct 1998 12:10:54 -0500
Organization: Lockheed Martin Energy Systems
Lines: 38
Message-ID: <3639F31E.FDD01109@ornl.gov>
References: <3639290C.349A723E@dps-corp.com> <71co2m$tk$1@cougar.golden.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.05 [en] (WinNT; U)
To: Jerry Alan Braga <jabraga@golden.net>

Eric,
    I also had this same problem....got some good answers from the
newsgroup....

For Forms 5.0, use Set_Item_Instance_Property( )

For Forms 4.5, use Set_Item_Property( ) in the Pre_Record trigger for that
block (work around), for example:

    Pre_Record:
        IF (criteria met) THEN
            Set_Item_Property('block.item', UPDATE_ALLOWED, PROPERTY_TRUE);

        ELSE
            Set_Item_Property('block.item', UPDATE_ALLOWED,
PROPERTY_FALSE);
        END IF;

Hope this helps,
Lisa

Jerry Alan Braga wrote:

> look at set_item_instance_property instead
>
> Eric Keen wrote in message <3639290C.349A723E@dps-corp.com>...
> >On a multi-row item, I've been trying to conditionally set the enable
> >property on and off for a column of the row based on an adjacent item
> >value.
> >
> >The entire column moves from enabled to disabled.  Is there any way to
> >conditionally set this property at the row level for an item?
> >
> >Thanks,
> >             Eric



