Link to home
Create AccountLog in
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?
A. CALL_FORM
B. OPEN_FORM
C. NEW_FORM
D. WEB.SHOW_DOCUMENT


Wich is the correct answer and why ?
PS: Only well argumented answers will be rewarded with points.
Avatar of Muhammad Ahmad Imran
Muhammad Ahmad Imran
Flag of United Kingdom of Great Britain and Northern Ireland image

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.
Avatar of liviumihail

ASKER

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

Avatar of slightwv (䄆 Netminder)
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:
https://www.experts-exchange.com/help.jsp#hs=23&hi=21

Please clarify.
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.
Thanks!
ASKER CERTIFIED SOLUTION
Avatar of Helena Marková
Helena Marková
Flag of Slovakia image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
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