Re: Forms 4.5 triggers
Date: 1995/08/05
Message-ID: <3vugi5$47n_at_portal.gmu.edu>#1/1
I thaught I had replied to this post.
Here it goes again.
- Attach the LOV to the field in the item property sheet.
- Define a KEY-LISTVAL trigger on the field.
- KEY-LISTVAL DECLARE item_selected BOOLEAN; BEGIN item_selected := SHOW_LOV; IF item_selected THEN << Enable/Disable push buttons. >> ELSE << Do processing when no item selected from the list. >> END;
Hope this helps.
Kalpesh S. Patel
R.O.W. Sciences, Inc.
301-294-5590 (T)
301-294-5401 (F)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Standard Discalaimer apply.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Thomas_Kuchenbuch_at_sz.maus.de (Thomas Kuchenbuch) wrote:
>
> Hi,
>
> is there any way to execute some PL/SQL-code whenever a value is selected
> from a LOV and inserted into a text item?
>
> WHEN-VALIDATE-ITEM trigger seems too late because I'd like to
> enable/disable some pushbuttons depending on the selected value _before_
> the user leaves the current text item.
>
> Thanks for any advice!
>
> Thomas
> --
> --------------------------------------------------------------------------
> Thomas Kuchenbuch eMail : thomas_kuchenbuch_at_sz.maus.de
> D-38106 Braunschweig
> Germany _no mails > 16kB,
> 64kB/day_
> --------------------------------------------------------------------------
Received on Sat Aug 05 1995 - 00:00:00 CEST