Solved

Oracle Forms Call

Posted on 2003-10-30
6
4,174 Views
Last Modified: 2012-06-22
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
Comment
Question by:camposaa
  • 2
6 Comments
 
LVL 5

Expert Comment

by:FBIAGENT
Comment Utility
In Oracle forms, you may use built-in procedure CALL_FORM(...) to open form #2 from form #1 (e.g., via a button)
0
 
LVL 47

Accepted Solution

by:
schwertner earned 25 total points
Comment Utility
Use NEW_FORM builtin
0
 
LVL 2

Expert Comment

by:bcarlis
Comment Utility
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
 
LVL 2

Expert Comment

by:bcarlis
Comment Utility
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and theā€¦
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now