Browser still Open oracle forms 10g

10 pts.
Tags:
Oracle Forms
Oracle Forms 10g
Oracle Forms Error Messages
Oracle Reports 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

Answer Wiki

Thanks. We'll let you know when a new response is added.

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

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following