Avatar of liviumihail
liviumihailFlag for Romania asked on

Oracle Forms Developer-Which built-in always starts a new Forms run-time session ?

Which built-in always starts a new Forms run-time session when you use it to invoke another form?

Wich is the correct answer and why ?
PS: Only well argumented answers will be rewarded with points.
Editors IDEsOracle Database

Avatar of undefined
Last Comment

8/22/2022 - Mon
Muhammad Ahmad Imran

When a form executes OPEN_FORM to invoke another form, the first form remains displayed, and end users can navigate between the forms as desired.  An opened form can share the same database session as the form from which it was invoked, or it can create a separate session of its own.  For most GUI applications, using OPEN_FORM is the preferred way to implement multiple-form functionality.

>> When a form executes NEW_FORM to invoke another form, Form Builder exits the first form and releases its memory, and then loads the new form (i.e., the second form completely replaces the first.  If changes are pending in the first form, Form Builder will prompt the end user to save them before the new form is loaded.

When a form executes CALL_FORM to invoke another form, the called form is modal with respect to the calling form. Any windows that belong to the calling form are not usable until the called form is exited and control returns to the calling form.

Both OPEN_FORM and CALL_FORM allow you to leave the calling form displayed.  Using this technique, you can integrate forms so tightly that end users are not aware that they are invoking separate forms.

Ok. I know the beahviour of that built-ins, and also tha theory. But the question ask this:
"Which built-in always starts a new Forms run-time " ...
My opinion is that "D. WEB.SHOW_DOCUMENT" can do this if in the URL you provide as an argument you access a form, something like that:
WEB.SHOW_DOCUMENT ('http;//www.summit.com/forms90/f90servlet?form=orders');

Open in new window

slightwv (䄆 Netminder)

This appears to be a homework/exam question.

If so we can only provide guidance and not exact answers to the question.

Please take a minute to review:

Please clarify.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.

I've posted a question for wich the answer is too "tricky" for me, even if I worh for 10 years with Oracle Forms.
If an exact answer cannot be provided, please provide the guidance.
Helena Marková

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Sanjeev Labh

Web.show_document is that one which achieves this. Since the form is opened in a new browser window. The url hits the apps server thus creating the new session. But, this feature is available after Forms 6i where Forms started running in browser window, before that this option was not available were forms runtime was only used. Only the rest three functionality were available.

Good answer
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.