Skip Headers
Oracle® Forms Upgrading Oracle Forms 6i to Oracle Forms 11g
11g Release 2 (11.1.2)

Part Number E24478-01
Go to Documentation Home
Home
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

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.

5.1 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.


5.2 Stricter Enforcement of Triggers

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

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.