5 Triggers

In order to streamline the tools available and simplify the development process for building Forms applications for the Web, triggers that are not applicable to Web deployment have been removed. In addition, the functionality of some triggers is being more strictly enforced.

The following sections are included:

Obsolete Triggers

The list of obsolete triggers.

Table 5-1 Obsolete Triggers

Obsolete Triggers Upgrade Notes

ON-DISPATCH-EVENT

Applies only to OLE and OCX items. Therefore, no upgrade path or replacement functionality.

All V2-style triggers

When you open FMBs that contain V2-style triggers, the triggers are dropped and a warning message lists the names of the dropped triggers. You should recode V2-style triggers into PL/SQL in Forms 6i, before upgrading to this release.

When-Mouse-Move/When-Mouse-Enter/When-Mouse-Leave Triggers

These triggers are ignored when running on the Web due to the amount of network traffic that would be generated.

Stricter Enforcement of Triggers

The use of specific triggers is more strictly enforced. These triggers do not execute if they are used incorrectly.

The list of triggers that are strictly enforced.

Table 5-2 Triggers with Restricted Usage

Trigger Restricted Usage

WHEN-CLEAR-BLOCK

WHEN-CREATE-RECORD

WHEN-DATABASE-RECORD

WHEN-NEW-RECORD-INSTANCE

WHEN-REMOVE-RECORD

Allowed at the Block and Form level only. No longer allowed at the Item level.

WHEN-NEW-FORM-INSTANCE

Allowed at the Form level only. No longer allowed at the Block and Item level.