P. 1
oracle forms developer_volume2

oracle forms developer_volume2

|Views: 30,502|Likes:
Published by kiranmaraka

More info:

Published by: kiranmaraka on Mar 09, 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

08/12/2013

pdf

text

original

Description

Fires after either of the following events:

• The successful completion of Form Builder default logon processing.

• The successful execution of the On-Logon trigger.

Definition Level form

Legal Commands

SELECT statements, unrestricted built-ins

Enter Query Mode no

Usage Notes

Use a Post-Logon trigger to provide an event point for a task such as setting up a custom environment
with special variables--to initialize on an application level rather than a form-by-form basis. You
might accomplish this by initializing special global variables from this trigger.

On Failure

Varies based on the following conditions:

• If the trigger fails during the first logon process, Form Builder exits the form, and returns to the
operating system.

• If the trigger fails after a successful logon, Form Builder raises the built-in exception
FORM_TRIGGER_FAILURE .

Fires In

LOGON

See Process Flowcharts

Post-Logon trigger examples

Example

This example calls a user exit to log the current username and time to an encrypted audit trail file on
the file system, which for security reasons is outside the database.

BEGIN

User_Exit('LogCrypt '||
USER||' ' ||
TO_CHAR(SYSDATE,'YYYYMMDDHH24MISS'));

END;

476

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)//-->