Calling infobus form from another.

Hi
Here is a brief description of the problem.
A simple data form is created using JDeveloper2.0's wizard. It is an Infobus based dataframe,which has a simple gridcontrol fetching data from the dept table. This form is in the pacakge,
package1.
Another form is made with a master detail relationship between dept and employee table, in the package, package2.
Now a button control is added on the first form( which is in package1) and the following code is added to the actionperformed event.
void buttonControl1_actionPerformed(ActionEvent e) {
Frame f = new package2.Frame1();
f.show();
Essentially, it calls the form in package2 when the button is pressed. Once this action is performed, the login dialog box of the form in package2 appears. After which it throws the following error and shows a blank form.
DAC-405: SessionInfo: Application module creation failed; className: ConnectionTrade
JBO-00200: A Generic exception occurred during loading Customizations.
null
If I add a button in the second form, (ie. the one in pacage2 having a master detail relationship) and call dept form (in package1) from here, it works.
We are stuck with this problem, and unable to proceed with deploying the application. As each form need to be called and invoked from a menu.
Thanks in advance.
Ravi

Hi,
You can do like this :
mainApplication(Menu)
+------------ Frame1
|
+------------ Frame2
In MainApp you call your frame, and remove from code the
windowListener of the frame. Replace the dispose(); in frame
methods fileExit(ActionEvent e) & processWindowEvent(WindowEvent
e), by try { finalize(); } catch (java.lang.Throwable ex) {
ex.getMessage(); }
It works great.
Bart
Gopal (guest) wrote:
: Hi,
: I am calling an infobus form from another one. Once I close the
: called form, I want the control to go back to the calling one.
: I tried dispose in the called form. It doesnot work. (Gives a
: null pointer exception and crashes everything). Both the frames
: are extended from infoframe. What is the right way to do this?
: Thanx,
: --Gopal
null

Similar Messages

  • What are the 3 ways to call a form from another form?

    What are the 3 ways to call a form from another form?
    What is the command to call a report from within a form?
    How do you attach a menu to a form?

    Hi,
    1. Should be new_form, call_form and open_form
    2. The command is run_product
    3. There is a property 'Menu Module' in form, just change it to your menu file name
    Regards,
    George
    Can anyone help me with the following questions...
    What are the 3 ways to call a form from another form?
    What is the command to call a report from within a form?
    How do you attach a menu to a form?
    Thanks for your time..
    Madhu

  • HOW TO CALL A FORM FROM ANOTHER FORM

    HOW TO CALL A FORM FROM ANOTHER FORM [local machine]

    Balraj wrote:
    HOW TO CALL A FORM FROM ANOTHER FORM [local machine]The way you asked question is this bit of request or order?
    Secondly, you used capital latters which are being treated as Shouting Language. So, always try to switch off the Capslock of your keyboard.
    Thirdly, you are very lazy to serach on forum or google for your problem instead of waiting someone to anwer your question.
    Your should seriously have a look at FAQ.
    http://wikis.sun.com/display/Forums/Forums+FAQ
    Also here.
    http://www.catb.org/~esr/faqs/smart-questions.html
    Please read documentation for the initial questions.
    -Ammad

  • Query about Calling One Form from Another using Personalization

    Hi All,
    I have created a Custom form using TEMPLATE.fmb and created functions in Apps and assigned to Responsibility etc and it all works OK.
    Now, I need to call this Custom form from another seeded(PO form) Via Tools -> Menu.
    using Forms personalization I can get the Menu Entry and Actions to execute the Form successfully from the PO Form.
    BUT, I need it to automatically query records in my CUSTOM form based on my current PO_HEADER_ID value on my PO Form.
    How can I do it ?
    Do I need to modify my Block and add some parameters and then pass a value via Personalization ?
    Please help !
    Thanks
    Shankar

    Hi Shankar,
    Please refer my article on metalink
    Zoom to AR Transactions and AR Receipts Form from Collections Form using Forms Personalization - Doc ID: 430643.1
    This article explains how to open the AR transactions form from another form. When it opens the form it automatically queries for the Invoice number of the calling form. You should be able to use this logic for your requirement.
    Hope this helps.
    Thanks,
    Anil

  • Calling Custom Form from Another Form

    Hi All,
    I have created a Custom form using TEMPLATE.fmb and created functions in Apps and assigned to Responsibility etc and it all works OK.
    Now, I need to call this Custom form from another seeded(PO form) Via Tools -> Menu.
    using Forms personalization I can get the Menu Entry and Actions to execute the Form successfully from the PO Form.
    BUT, I need it to automatically query records in my CUSTOM form based on my current PO_HEADER_ID value on my PO Form.
    How can I do it ?
    Do I need to modify my Block and add some parameters and then pass a value via Personalization ?
    Please help !
    Thanks
    Shankar

    Hi ,
    I found similiar solution on another forum as below.
    http://it.toolbox.com/blogs/apps-traction-blog/how-to-create-a-zoom-using-oracle-form-personalization-12081
    This works fine for the Purchasing form and allows me to zoom to the Supplier form.
    But in my case, I want to zoom from the Supplier Form to my CUSTOM form. I replicated the exact steps as per the link.
    However, it does NOT work as expected. It gets up to the ENTER QUERY mode in my CUSTOM form and remains in Enter Query mode. If I manually then Press key F11 to execute the query it brings back all records.
    Do I need to do anything special in my CUSTOM form to make it behave in a similiar way to the Supplier Form ?
    Thanks
    Shanky

  • How to call Oracle form .from another application like VB 6.0

    Dear ALL,
    I want to call oracle(Developer) form ,from another application (VB 6.0).I want to call the form in such
    a way that user dont need to enter login and password.I will hard code the username and password
    in my VB 6.0 application.User only press a button on Visual Basic 6.0 form and and that button will
    open required Orcale form.How can I DO this.PLEASE HELP............
    Regards

    You have the command in VB 6.0 to run any exe files right (I think it is the system command). Next to that command place the following code to run your forms application
    ifrun60.EXE <forms.fmx with complete path> userid=<username>/<password>@<connection string>.
    Regards,
    Senthil .A. Perumal.

  • Calling application form from another application form

    hi
    I am working on application forms in SAP-ISU. I wanted to call one application form from another application form. Please help me.
    Regards,
    suresh
    [email protected]

    Hi,
    Suppose there r 2 applications X and Y.  There will be 1 programe associated with each applications.
    We have to change the programe of 1 application and call 2nd programe in the 1st programe using SUBMIT keyword.
    Reward points if useful.
    Regards
    (YUGANDHAR.P)

  • Error while calling a form from another form's menu item

    I created a main form and menu module for this form.
    I am calling another form from main form menu item.
    i moved both the forms and menu and compiled them.
    But, when i run this form i am getting an error saying
    FRM 92100: Your connection to the server was interrupted
    This may be the result of a network error, or a failure on the server.
    You will need to establish your session.
    I set the seperateframe = true
    networkentries = 30
    But still getting the same error.
    Is there any parameter that i am missing.
    I will greatly appreciate if anybody can direct me to the solution.
    Thank you.
    Navya.

    Hi guest,
    the data definition is:
    DATA: XVBKD LIKE VBKDVB OCCURS 0 WITH HEADER LINE.
    the assignment:
    XVBKD-PRSDT = likp-erdat.
    Thanks,
    Hagit

  • Calling one form from another

    hi im trying to open another form from an exixting form by clicking on a button.
    so i hae used the when button pressed trigger and inserted:
    open_form(customerform);
    it has complied fine but when i run the form and press thr button this error comes u
    FRM.40010: cannot read from customerform
    can i resolve this problem?
    pls help
    thanx in advance

    hi all,
    in some application, i use forms90_path in registry and copy the value in it into default.env ( i work at Developer Suite 10g), and running well.
    My problem if i fix this way ( not use call_form('Path\form.fmx'....) is
    if there the same file on 2 path, the file called sometimes incorrect.
    ex :
    path 1 = c:\a
    path 2 = c:\b
    file coba.fmx is included both of path
    on regestry : c:\a;c:\b
    when i run application which is in path 2 and call the file coba.fmx, why the return on form is file coba.fmx on path 1 ?
    is there any setting for solving it ( except give that file in a different name ) ?
    i need advise :)
    thank you very much
    Best Regards,
    Salim
    Beginner Programmer

  • Calling A Form From Another One

    hi i am trying to call a form that i have constructed before named "MENU_form" from the "LOGIN" form. I have imported the "MENU_form" but i can't use it as an another frame inside the LOGIN form.
    At Login Form, after the user enters the correct usrname and password, i want to redirect the form to Menu_Form. Need your help...
    Also here is the code...
    package project;
    import java.sql.Connection;
    import java.sql.*;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import project.IConnect;
    import project.MENU_form;
    * @author buro
    public class login extends javax.swing.JFrame {
    /** Creates new form login */
    public login() {
    initComponents();
    private void initializeComponent()
    /** This method is called from within the constructor to
    * initialize the form.
    * WARNING: Do NOT modify this code. The content of this method is
    * always regenerated by the Form Editor.
    // <editor-fold defaultstate="collapsed" desc=" Generated Code ">
    private void initComponents() {
    jLabel1 = new javax.swing.JLabel();
    jTextField1 = new javax.swing.JTextField();
    jTextField2 = new javax.swing.JTextField();
    jButton1 = new javax.swing.JButton();
    jLabel2 = new javax.swing.JLabel();
    jLabel3 = new javax.swing.JLabel();
    jLabel4 = new javax.swing.JLabel();
    jButton2 = new javax.swing.JButton();
    setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
    jLabel1.setText("KULLANICI G\u0130R\u0130S\u0130");
    jButton1.setText("G\u0130R\u0130S");
    jButton1.addMouseListener(new java.awt.event.MouseAdapter() {
    public void mouseClicked(java.awt.event.MouseEvent evt) {
    jButton1MouseClicked(evt);
    jLabel2.setText("Kullan\u0131c\u0131 Ad\u0131");
    jLabel3.setText("\u015eifre");
    jLabel4.setForeground(new java.awt.Color(255, 0, 51));
    jLabel4.setText("a");
    jButton2.setText("\u00c7IKI\u015e");
    jButton2.addMouseListener(new java.awt.event.MouseAdapter() {
    public void mouseClicked(java.awt.event.MouseEvent evt) {
    jButton2MouseClicked(evt);
    javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
    getContentPane().setLayout(layout);
    layout.setHorizontalGroup(
    layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(layout.createSequentialGroup()
    .addGap(20, 20, 20)
    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
    .addComponent(jLabel1, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
    .addComponent(jButton1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE)
    .addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, 59, javax.swing.GroupLayout.PREFERRED_SIZE))
    .addGap(24, 24, 24)
    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
    .addComponent(jTextField2, javax.swing.GroupLayout.Alignment.LEADING)
    .addComponent(jTextField1, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 110, Short.MAX_VALUE)))
    .addComponent(jLabel4, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 257, javax.swing.GroupLayout.PREFERRED_SIZE))
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 146, Short.MAX_VALUE)
    .addComponent(jButton2)
    .addGap(23, 23, 23))
    layout.setVerticalGroup(
    layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(layout.createSequentialGroup()
    .addContainerGap()
    .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 31, javax.swing.GroupLayout.PREFERRED_SIZE)
    .addGap(27, 27, 27)
    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
    .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
    .addComponent(jLabel2))
    .addGap(20, 20, 20)
    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
    .addComponent(jTextField2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
    .addComponent(jLabel3))
    .addGap(15, 15, 15)
    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
    .addComponent(jButton2, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
    .addComponent(jButton1, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 32, Short.MAX_VALUE))
    .addGap(20, 20, 20)
    .addComponent(jLabel4)
    .addContainerGap(281, Short.MAX_VALUE))
    pack();
    }// </editor-fold>
    private void jButton2MouseClicked(java.awt.event.MouseEvent evt) {                                     
    // TODO add your handling code here:
    System.out.println("User exited application");
    System.exit(3);
    private void methodName22()
    private void jButton1MouseClicked(java.awt.event.MouseEvent evt) {                                     
    // TODO add your handling code here:
    String nul="";
    if( (nul.equals(jTextField1.getText())) || (nul.equals(jTextField2.getText())) )
    jLabel4.setText("Bos Alanlar? Doldurunuz!!!");
    else
    String usr= jTextField1.getText();
    String pwd= jTextField2.getText();
    try {  
    Connect baglan= new Connect();
    Connection connection=baglan.Connect();
    Statement stm = connection.createStatement();
    String sql;
    //SELECT
    ResultSet rs=stm.executeQuery("select * from login where username='"+usr+"' and passwor='"+pwd+"'");
    if(rs.next()==true)
    jLabel4.setText("Success!!!");
    this.setVisible(false);
    // ************* HERE I want to call "MENU_form". HOW ??????
    else
    jLabel4.setText("fault!!!");
    } catch(Exception e)
    {  e.printStackTrace(); }//end of catch
    }//end of else
    private void initialize()
    jLabel4 = new JLabel();
    jLabel4.setText("");
    public static void main(String args[])
    java.awt.EventQueue.invokeLater(new Runnable() {
    public void run() {
    new login().setVisible(true);
    //initialize();
    // Variables declaration - do not modify
    private javax.swing.JButton jButton1;
    private javax.swing.JButton jButton2;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JTextField jTextField1;
    private javax.swing.JTextField jTextField2;
    // End of variables declaration

    Hi,
    this is the way i am showing a password dialog: i derive this class from JDialog (not from JFrame).
    In its constructor, i make it a modal dialog.
    public class PasswordDlg extends JDialog {
    private boolean ok; // this flag should indicate whether the User has pressed OK or CANCEL
                                 // i omit the code for OK and CANCEL here...
    public PasswordDlg(JFrame owner, String DisplayText) {
         super(owner,DisplayText,true); // true -> modal!
      public boolean showDialog()
        { ok = false;
          show();
          return ok;}
    } Now in my main frame (this is derived from JFrame) in its constructor, i make an instance of my PasswordDlg, call its showDialog method, ask the password from the dialog (i have omitted this method), and then i decide, whether the program should go on or whether i call System.exit(0) in case the password is wrong.
    regards
    BugBunny

  • Calling a form from another form?

    Hello,
    User searches for data by clicking search button. This brings up my canvas C_view related to block B_view.
    I put a 'when-mouse-double-click' trigger on my view block B_view.
    In that trigger I have a call to a program unit P_CALL_FORM.
    My idea is to call a form and pass the values from the record on which the user double clicks.
    For now I have the following code in my P_CALL_FORM:
    PROCEDURE P_CALL_FORM IS
       L_pl_id   ParamList;
       x         number;
    BEGIN
       Open_Form ('lcimpedt',
                  ACTIVATE,
                  SESSION);
    EXCEPTION
       when FORM_TRIGGER_FAILURE then
          raise;
       when OTHERS then
          emessage(SQLERRM);
          raise FORM_TRIGGER_FAILURE;
    END;When I double click on any record in the C_view, the called form 'lcimpedt' does not come up. Any suggestions
    why the form is not showing up?(that form 'lcimpedt' is in the same directory of the application as my calling form. both of them are 10g forms.)
    Thanks,

    Andreas,
    Thank you for your valuable suggestions.
    "If you have a hundred users with each opening two connections you have 200 connections instead of 100. Also, having two connections means that you have two transactions, so one user could lock himself in one forms-application by trying to change the same record in two db-sessions. And, commiting only affects the "active" session. So if the user changes in two sessions he will have to commit two times (Of course, this could also be a positive argument)."
    I totally agree with the above.
    There are very few users(infact may not be more than 3) to the form that I am working on...so opening multiple connections should not be a problem.
    Currently there are some forms in the application with the similar functionality(although in that case....when they try to edit, they are editing completely different information than what is in the calling form). I am trying to mimic the same thing (not that it is the right way of doing things) ...just so that the users get what they are used to. So, switching between windows is something that they are used to...and I think its a non-issue.
    The only other thing that I think will be a problem is users potentially locking themselves up. Do you know if using pl/sql tables/collections for this would be a good idea to solve this? Can pl/sql tables/collections be used with forms?
    Thanks,
    Chiru

  • Urgent:Error While calling one form from another form

    Hi,
    i am using a form in which zoom functionality is enabled.From this form if i am clicking view->zoom it should open another form which should accept two parameters from the first form.But whenever i am clicking on zoom its giving the following error.
    FRM-47023:No such parameter named G_QUERY_FIND exists in form
    XX_EMPLOYEE_CONVERSION(Name of the form which i am calling from first form)
    When i am clicking 'ok' then it shows the error
    FRM-40105:Unable to resolve reference to item PARAMETER.G_QUERY_FIND
    Eventhough i have developed my form using template.fmb which uses the parameter G_QUERY_FIND why this error is coming?
    Can anyone suggest a solution for this.
    Thanks in advance

    PARAMETER.G_QUERY_FIND is one of he objects in the APPSTAND.fmb. You will need to Subclass all of the objects in APPSTAND.fmb in your custom form. If you do not have a copy of this file in your FORMS60_PATH, I suggest you put a copy there. If you don't have a FORMS60_PATH specified then I would highly suggest adding this entry to your Forms Home in the Registry. Also, you will want all of the libraries in the AU_TOP/Resources folder as well.
    I also suggest looking at the Oracle Applications Developer's Guide (http://download.oracle.com/docs/cd/B25284_01/current/acrobat/115devg.pdf) as it outlines all of the required objects you must have in your form and reports.
    Hope this helps.
    Craig...

  • Calling custom form from another custom form giving problem

    Hi
    my requirement is when i am populating value in one form field from LOV ,
    i wrote when-validate-item trgger
    this trigger calls in turn another form for approval
    so i use the following command in trigger
    DECLARE
    -- variable added by deepak on 16-05-2006 starts here
         --to make PROF_description enterable
         L_PROF_TERM_WARNING_AMNT NUMBER;
         L_PROF_TERM_AMNT NUMBER;
         L_PROF_DEPOSIT_PAID NUMBER;
         L_AUTORIZATION VARCHAR2(1);
         --variable added by deepak on 16-05-2006 ends here
         --code added by deepak on 16-05-2006 starts here
         BEGIN      
                        BEGIN
                             SELECT PROF_TERM_WARNING_AMNT ,PROF_TERM_AMNT ,PROF_DEPOSIT_PAID ,AUTORIZATION
                             INTO L_PROF_TERM_WARNING_AMNT,L_PROF_TERM_AMNT,L_PROF_DEPOSIT_PAID,L_AUTORIZATION
                             FROM XXPOS_CUSTOMER_PROFILES_GTB XCP
                             WHERE XCP.PROF_DESCRIPTION = :POSTPAID_DET.PROF_DESCRIPTION;
                        END;
                        BEGIN
                        IF L_AUTORIZATION ='Y' THEN
                             :GLOBAL.auth_user_id := NULL;
                             FND_FUNCTION.EXECUTE( FUNCTION_NAME=>'XXAUTHSC',
    OPEN_FLAG=>'Y',
    SESSION_FLAG=>'NO_SESSION',
    OTHER_PARAMS=>NULL,
    ACTIVATE_FLAG=>'ACTIVATE',
    BROWSER_TARGET=>NULL);
                        IF :GLOBAL.auth_user_id is not null THEN
                             :POSTPAID_DET.PROF_TERM_WARNING_AMNT := L_PROF_TERM_WARNING_AMNT ;
                        :POSTPAID_DET.PROF_TERM_AMNT := L_PROF_TERM_AMNT ;
                        :POSTPAID_DET.PROF_DEPOSIT_PAID := L_PROF_DEPOSIT_PAID ;
                        ELSE
                             RAISE Form_Trigger_Failure;
                        END IF;
                        ELSE
                        :POSTPAID_DET.PROF_TERM_WARNING_AMNT := L_PROF_TERM_WARNING_AMNT ;
                        :POSTPAID_DET.PROF_TERM_AMNT := L_PROF_TERM_AMNT ;
                        :POSTPAID_DET.PROF_DEPOSIT_PAID := L_PROF_DEPOSIT_PAID ;
                        END IF;
                        END;
              END;
    but while running it is giving error:
    it is not popup the desired second window and displaying following error
    Illegalrestricted procedure OPEN_FORM in when-validate-item trigger
    IF anyone has any idea on this, it will bw highly appreciated.
    regards
    deepak

    You can use a timer in your when-validate-item trigger. In the when-timer-expire trigger you can call the procedure open_form

  • Problem calling a form from another form in oracle 10g

    hi,
    i have created A basic STUDENT form with all fields and the STUDENT/COURSES master/detail form .
    I am trying to place to button on the STUDENT form that when pressed, will call the STUDENT/COURSES form and automatically query the COURSES for the employee being viewed on the STUDENT form.
    here is the code i used
    DECLARE
         pl_id ParamList;
    BEGIN
         pl_id := Get_Parameter_List('tmpdata');
    IF NOT Id_Null(pl_id) then
              Destroy_Parameter_list (pl_id);
         end if;
         pl_id := create_parameter_list ('tmpdata');
         add_parameter (pl_id, 'students_id',text_parameter, :s_id);
         run_product (forms, 'C:resubmission\stucourse.fmb', synchronous, runtime,
         filesystem, pl_id, null);
    end;
    although it successfully compiled,
    when i press the button on the form it is giving me
    frm-92101 : there was a failure in the forms sever during start up...
    i have tried everything i can think off, am fairly new to this
    please any assistance will be appreciated. am using oracle 10g
    thanks in advance.

    Ammad is right, in order to pass a parameter to another Form, the Form you call must have a corresponding parameter. In other words, if you go to the Parameters node of the Object Navigator you need to add a parameter called "STUDENTID" and set the data type and precision of the parameter to match the data you will pass to this parameter.
    Once you have this parameter in your called form, you will have to write code in the called form to use the value of the parameter. This code is typically in the When-New-Form-Instance (WNFI) trigger, but that all depends on your requirements. In your example, this seems the appropriate trigger as your intent is to pass the Student ID and query any Courses the Student is enrolled in. Your WNFI trigger needs to check if there is a value in the Student_ID parameter and then set the default where clause of your COURSES datablock and execute a query on the block. For example:
    /* Sample WNFI trigger */
    /* This example "ASSUMES" your courses block is called COURSES */
    BEGIN
       IF ( :parameter.STUDENT_ID IS NOT NULL ) THEN
          Set_Block_Property('COURSES', OneTime_W.here, 'STUDENT_ID = :Parameter.Student_ID');
          Execute_Query;
       END IF;
    END;
    Note: I had to put a period into the "OneTimeW.here" statement in order to get the Editor to accept my post.  Please remove the period if you use this sample code.
    Hope this helps,
    Craig B-)
    If a response is helpful or correct, please mark it accordingly.
    Edited by: CraigB on May 24, 2010 8:23 AM
    Edited by: CraigB on May 24, 2010 8:23 AM
    Edited by: CraigB on May 24, 2010 8:26 AM

  • How a to call a form from another form when the button is pressed

    Hi All
    I working with oracle apps r12
    I have develop a new form and attached into a special menu here i have two button
    When i click a button i need to call my new form.
    I have tried so far is
    I have write a trigger in that button when button pressed
    open_form('Form_name',Activate)
    regards
    Srikkanth
    Edited by: Srikkanth.M on Aug 18, 2011 7:06 PM

    Can you not use zoom functionality ?
    How to Zoom or Create Master-Details relationship Using Forms Personalization? (Doc ID 457643.1)
    HTH
    Srini

Maybe you are looking for