Re: HELP:SQLForms4.0 Cascading LOV
From: Steven P. Muench <smuench_at_doh.us.oracle.com>
Date: Tue, 9 Nov 1993 01:56:05 GMT
Message-ID: <SMUENCH.93Nov8175605_at_doh.us.oracle.com>
Product Manager
Date: Tue, 9 Nov 1993 01:56:05 GMT
Message-ID: <SMUENCH.93Nov8175605_at_doh.us.oracle.com>
WALLY -- You would simply use the Show_LOV() built-in in a nested way
as follows:
IF Show_Lov('FirstLOV') THEN /* ** You'll only get in here if the user ** Selected something (as opposed to cancel) */ IF Show_Lov('SecondLOV') THEN /*Forms Development
** You'll only get in here if the user
** Selected something (as opposed to cancel)
*/ END IF; END IF; And make sure that the WHERE clause in the SQL statement contains references to the appropriate columns on which you would like to restrict, and that the return items for the LOV's you're using properly return the LOV-selection's row values into the columns you desire. You can put this in a KEY-LISTVAL trigger, and mark the trigger to "Fire in Enter Query" mode, so that whether in normal or Enter Query mode, you logic will override. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Steve Muench Email: smuench_at_oracle.com
Product Manager
-- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Steve Muench Email: smuench_at_oracle.com Forms Development Product ManagerReceived on Tue Nov 09 1993 - 02:56:05 CET