exit button does not completely exit the form [message #516766] |
Wed, 20 July 2011 12:32 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
![](http://www.gravatar.com/avatar/eff5d06335e6d6b44ff5a85f9b597c63?s=64&d=mm&r=g) |
nik.gujeran
Messages: 11 Registered: July 2011
|
Junior Member |
|
|
Hello There,
I have received a service ticket from QA regarding one of the application forms does not close out even after the exit button is pressed. Instead, it goes to the previous record and continues to do so if there are multiple applications created and then exits at that point.
The end users are not liking that feature and I am unable to detect this error.. What kind of trigger should i apply and what do i write in this trigger..
I apologize these kinds of questions, but I am very very new to the Oracle environment..
Thank you so much for your kindest support..
Regards,
Nick
|
|
|
Re: exit button does not completely exit the form [message #516767 is a reply to message #516766] |
Wed, 20 July 2011 12:36 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
joy_division
Messages: 4963 Registered: February 2005 Location: East Coast USA
|
Senior Member |
|
|
I really do not understand the problem as described.
This may or may not help depending on what you have done to check already:
You look at code on the WHEN-BUTTON-PRESSED trigger.
I don't understand when you say it doesn't exit out and then you say it exits out after going to the previous record.
|
|
|
|
|
|
|
|
Re: exit button does not completely exit the form [message #517139 is a reply to message #517122] |
Fri, 22 July 2011 19:23 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
![](http://www.gravatar.com/avatar/eff5d06335e6d6b44ff5a85f9b597c63?s=64&d=mm&r=g) |
nik.gujeran
Messages: 11 Registered: July 2011
|
Junior Member |
|
|
ok 4 step process to fix this issue..
1. Under the Program Units, i found a procedure body named assign_globals. I added the default value to it..
default_value('','global.quit_all');
2. passed :global.quit_all := 'N'; in the WHEN-NEW-FORM-INSTANCE trigger under Forms
3. passed :global.quit_all := 'Y'; in the key-exit trigger under forms
4. and lastly, IF :global.quit_all = 'Y' THEN
EXIT_FORM; in the WHEN-WINDOW-ACTIVATED trigger under forms
compiled and tested the form, and it worked like a champ... Once again, it wasn't me atall.. It was the Sr. Developer who helped me.. It was very nice of me or otherwise, i would have never figured this out.
|
|
|