P. 1
OR-Oracle_Forms_6i-8_0-WB

OR-Oracle_Forms_6i-8_0-WB

2.0

|Views: 6,877|Likes:

More info:

Published by: Mohammed Nayeemuddin Qureshi on Mar 23, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

01/27/2014

pdf

text

original

Execution Style

Specifies how the current trigger code should execute if there is a trigger with the same
name defined at a higher level in the object hierarchy.

The following settings are valid for this property:

Setting

Description

Override

Specifies that the current trigger fire instead of any trigger by the
same name at any higher scope. This is known as "override
parent" behavior. The default.

Before

Specifies that the current trigger fire before firing the same trigger
at the next-higher scope. This is known as "fire before parent"
behavior.

After

Specifies that the current trigger fire after firing the same trigger
at the next-higher scope. This is known as "fire after parent"
behavior.

FORM_ TRIGGER_ FAILURE exception

• A predefined PL/SQL exception available only in Oracle Forms

• You can raise this exception without having to first define it in the declarative

section

When does a trigger fail?

• When a FORM_TRIGGER_FAILURE is raised

• When an unhandled exception occurs

If a trigger is not failed, then processing continues. In the example above, if the RAISE
FORM_TRIGGER_FAILURE was omitted, the user would receive the message but would be
allowed to leave the item.

© SunGard 2004-2008

Oracle Forms 6i

Page 118

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->