10 pts.
 Browser still Open oracle forms 10g
we're using Oracle forms 10g, after exiting from the Application the browser stilll open, is there a code or built in function that will close the browser?

Software/Hardware used:
Oracle Forms / Report 10g
ASKED: April 27, 2010  1:20 PM
UPDATED: May 6, 2010  12:32 AM

Answer Wiki:
There is no built-in procedure for that, but you can achieve it this way: -Create an htm file with the necessary code to close the browser. -Call this htm page from you POST-FORM trigger. The code of the htm page could be something like this: <pre><HTML> <BODY onload="closeBrowser()"> <SCRIPT> function closeBrowser() { win = top; win.opener = top; win.close(); } </SCRIPT> </BODY> </HTML></pre> Then, assuming that you put it in your webutil directory, you can put this code in your POST-FORM trigger: <pre>web.show_document('/forms/webutil/CloseTheBrowser.htm','_self');</pre> -CarlosDL
Last Wiki Answer Submitted:  May 6, 2010  12:32 am  by  carlosdl   63,535 pts.
All Answer Wiki Contributors:  carlosdl   63,535 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _