Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

RE: Need solution to exit out of the form and application?

user711408May 7 2010
Hi All,


Issue: We want to be able to force all form changes made by a user to be discarded when the user attempts to exit a form (no validating the changes made, committing the changes, or prompting of the user to save or discard the form changes they just made).

I tried using exit_form(NO_VALIDATE,TO_SAVEPOINT) instead of hr_forms.event('KEY-EXIT') to accomplish this (which seemed to work until I kept closing forms till only the OAB Navigator was displayed and then attempted to exit the application).

On attempting to exit the application, I got error messages that suggested that some windows were still open and needed to be closed first after completing work on them. But no windows were open. I had to close the app via Task Manager in order to get out.


Potential workaround to form but not application, more feedback:

There must be something (possibly an application-level global variable or parameter) that logic associated with the call to hr_form.event('KEY-EXIT') sets which causes the application to know that 1) closure to all outstanding form transactions has been achieved and 2) that all form windows were successfully closed such that the user gets the expected "Exit Oracle Applications?" note that they can click OK on to successfully exit the application.

Is there a developer at Oracle who could possibly drill down to determine what this something is? If it could be found, may it would simply be a matter of adding this logic before or after (whichever is appropriate) the CLEAR_FORM(NO_VALIDATE); and EXIT_FORM; commands that my client is currently using successfully to discard form changes and exit the Contact form.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 4 2010
Added on May 7 2010
0 comments
732 views