Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4188
  • Last Modified:

Oracle Forms Call

I have 1 form open (form 1), when I open my new form (form 2), I want the form 1 to close or deactivate...using the exit_form, close_form isn't working...is there some bug?

Is there a way to deactivate form 1 when I open form 2, and when I close form 2, form 1 will reactivate?
0
camposaa
Asked:
camposaa
  • 2
1 Solution
 
FBIAGENTCommented:
In Oracle forms, you may use built-in procedure CALL_FORM(...) to open form #2 from form #1 (e.g., via a button)
0
 
schwertnerCommented:
Use NEW_FORM builtin
0
 
bcarlisCommented:
I believe you want to call a new form (form2) from form1 and have the calling one (form1) close. Now form2 is open ready for use.

Bill :)

0
 
bcarlisCommented:
Oh, schwertner hit it on the nose.

NEW_FORM builtin

Exits the current form and enters the indicated form.  The calling form is terminated as the parent form.  If the calling form had been called by a higher form, Form Builder keeps the higher call active and treats it as a call to the new form.  Form Builder releases memory (such as database cursors) that the terminated form was using.
Form Builder runs the new form with the same Runform options as the parent form.  If the parent form was a called form, Form Builder runs the new form with the same options as the parent form.

Great! I didn't know that.... :)

Bill
0

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now