Re: Forms 3.0 problem

From: Steve Corbett <p0070623_at_oxford-brookes.ac.uk>
Date: 24 Dec 1993 21:51:34 -0600
Message-ID: <CIHKpB.3EM_at_uk.ac.brookes>


Baby Mars All Alone In HK (mars_at_hk.super.net) wrote:
: Now... another question...
: If I called trigger B from trigger A, how can I cause trigger A to fail
: if trigger B has failed ? It seems that trigger A still proceeds even if
: I specified FORM_FATAL or TRIGGER_FAILURE.

try:
in trigger A after executing trigger B
try IF NOT FORM_SUCCESS THEN

       RAISE FORM_TRIGGER_FAILURE;
    END IF;
or better still put the above 3 lines of code in a library procedure and use it everywhere !!!

Steve Corbett.                        vvv
                                     [. .]
p0070623_at_brookes.ac.uk --------o00-(_)-00o--------- Received on Sat Dec 25 1993 - 04:51:34 CET

Original text of this message