Call_form built-in

db and dev 10g rel2
, hi all,
i've a tree with a lot of nodes , i've to double-click a node to call another form , but this does not happen ,
what happens is :
example
when i double-click a node , the "time"form is opened , but
when i exit the "time" form and goes to click another node to open "hr" form , then , the "time" form is opened first and when i exit it , the "hr" form is opened ?
thanks in advance

See if this one can help you
{thread:id=2483601}
Edited by: yoonus on Jan 8, 2013 3:01 AM

Similar Messages

  • Related Call_form built in

    Hi ,
    I am calling one form from another.
    The second form having horizantal and verticsl toll bars
    When i am calling form is opening but horizantal and vertical bars are not dispalying
    Plese do need ful help
    regards
    Pradeep

    Hi,
    I just think it might be bug 315929: CALL_FORM TO FORM WITH A ROOT_WINDOW HAVING SCROLL BAR PROPERTY SET TO TRUE.
    Rename the windows to something other than 'root_window' (e.g. my_window).
    Monica

  • Forms 10.1.2.0.2: Web Form does not appear at Runtime with CALL_FORM

    Hello there,
    We have a number of forms we're executing as web forms using Oracle JInitiator 1.3.1.22. We have one form in particular that, when a button is pressed, is supposed to call another form via the CALL_FORM built-in.
    We are passing a parameter list to the new form, and executing the CALL_FORM built-in with these Setting Parameters:
    CALL_FORM( formmodule_name => '<OUR_FORM_NAME>',
               display         => NO_HIDE,
               switch_menu     => NO_REPLACE,
               query_mode      => NO_QUERY_ONLY );When we run the starting form as a web form (via JInitiator 1.3.1.22), and press the button to call the other form, all buttons on the starting form are greyed-out/disabled. The called form does not appear.
    I have carried out a number of checks with my own debugging tool (stored procedure writing messages to a table via an autonomous transaction), and forms focus is definitely been transferred to the called form. For example, the WHEN-NEW-FORM-INSTANCE trigger in the called form is definitely being executed.
    I suspect this problem is JVM-related rather than Forms-specific. My current plan of attack is to request the Application Server Logs tomorrow morning (I don't currently have access to them) and see if I can find any Java-related error messages. However, if any of you reading this have experience of this type of problem and can offer any assistance, please don't hesitate to let me know your suggestions/advice.
    Cheers.
    James

    You could check the settings of the window in the calling form. If its set to "Modal" or "Dialog", and the window in the called form has other settings, the new window might be opened "behind" the old window.

  • Using CALL_FORM

    Hello Guys -
    I have a very specific question to ask you guys. The reason why I am using CALL_FORM is because CALL_FORM allows the full execution of the calling procedure, vs OPEN_FORM. OPEN_FORM will disable any procedures arranged after the call to OPEN_FORM is done. I use the CALL_FORM built in to call a small calendar which people can double click on the date and populate the calling form's date fields. The problem is people keep clicking on the back on the calling form, which hides the calendar form behind the calling form and makes it appear that the calling form is "frozen". Apparently there is no parameter in the CALL_FORM built in that will disable outside form navigation.
    I basically want to keep my client from being able to navigate outside the form that is being called, while showing the calling form at the same time. Does anyone know how to do that? I've looked into using WHEN-FORM-NAVIGATE, but that only fires when the form is navigated to, but not from. Thanks in advance!! Any help would be appreciated.

    Hello,
    If i understood properly you want to stop navigation between forms after calling the calendar form. Then go to the property of calender form's window and choose Window Style as Dialog and Modal as YES then run your form it will stop navigation after calling the calendar form.
    -Ammad

  • Parameters in Call_Form

    Hi,
    A form A call to a form B using Call_Form built-in. I would like to pass values from B to A.
    What alternative to globals variables does exist to do that ?
    Thanks.

    Use parameters. In the Forms Builder, in the Navigator window, there is a node called Parameters. You can create a parameter there and refer to it in your form using :PARAMETER like it's a block. e.g.
    if :parameter.myparam is not null then
    ... -- Do something with the parameter.
    end if;
    The calling form needs to build up a parameter list and pass it using OPEN_FORM, CALL_FORM, etc.
    Regards,
    Robin Zimmermann
    Forms Product Management
    200211

  • FRM-40405, No Changes To Apply Message

    Environment : Forms 9i, Web, 9iAS
    Whenever a transaction is made, The "No changes to Apply" message is get displayed and then the transaction is applied and saved message appears.
    How can i get ride to the First message?
    ON-ERROR trigger containss the following code
    if error_type = 'FRM' and error_code = 40405 then
         null;
    else
    message(error_code ||':'||error_text,no_acknowledge);
    end if;
    Eben then, No change to Apply message Appears.

    This is happening for all the Forms in our Application Just a guess...
    Sounds like you are running your forms from a "master form" using OPEN_FORM(form_name, ACTIVATE, NO_SESSION); This will do the commit on both the called form and the calling form (and that's where the FRM-40405 comes from). You can use OPEN_FORM(form_name, ACTIVATE, SESSION); but this will create a new session for each form being called.
    Try the CALL_FORM built-in instead.
    Hope this helps (if my guess is wrong, forget it:)
    Gerald Krieger

  • Query in Parameters in Oracle Forms 6i

    Can any one explain me how to go with parameters in oracle forms 6i's Object Navigator.If explained with an example it will be of great help for me.
    Thanks,
    Prathap

    Hello,
    Forms parameters are usefull to receive a value from a calling form or for a command line.
    You can pass a value to a form through these parameters, which value can be read inside the form.
    Assume your form have to display only employees of departement 10.
    In the parameter node, you create a new parameter then name it : DEPARTEMENT (number)
    A the start of this form, you can filter the data in the Where clause property of the block:
      DEPTNO = :PARAMETER.DEPARTEMENTand, when the first form call this one, it pass this parameter in the CALL_FORM() built-in
    Declare
      pl_id PARAMLIST;
      pl_name VARCHAR2(10);
    Begin 
      -- create the parameter list --
      pl_name :=  'temp';
      pl_id :=  get_parameter_list(pl_name);
      IF NOT ID_NULL(pl_id) THEN
        destroy_parameter_list(pl_id);
      END IF;
      pl_id := create_parameter_list(pl_name);
      -- add the parameter to the list --
      add_parameter(pl_id, 'DEPARTEMENT', TEXT_PARAMETER, 10);
      -- call the employees dialog --
      call_form('EMP_DIALOG', HIDE, NO_REPLACE, NO_QUERY_ONLY, NO_SHARE_LIBRARY_DATA, pl_id);
    End ;Hope this is clear enough.
    Francois

  • Call a Form using Webutil from the Menu loose focus on the applet

    Hello,
    I have the following problem:
    When calling a form using webutil from the menu the focus on the applet (I mean the Forms Application window) is lost and I have to click on the window to get back the focus on the application.
    Any advice ?
    Env: Forms 9i / Webutil 1.06
    Rgds,
    Philippe

    Try to use the NO_HIDE parameter in the CALL_FORM() built-in.
    Call_Form( 'the_form', NO_HIDE ) ;Or maybe, in the[b] When-New-Form-Instance trigger of the called form, return the focus to the calling form
    Go_Form( Get_Application_Property( CALLING_FORM ) ) ;Francois

  • RUN_PRODUCT help

    Hi,
    We currently use the RUN_PRODUCT(FORMS ... to start up a second MDI window. All is well with this code on versions of forms up to 9i. Using forms 11 this command has become obsolete can anybody please advise me of a workaround as I can not think of one to dynamically start a second oracle instance.

    It is not for web forms unfortunately and using the call_form built in will only open the form within the current MDI window.
    I have found a solution by using the Win_API_Shell.WinExec package from the D2KUTIL library.

  • Bind variable not picking up a global value... FUSTRATING!!! :(

    Its pretty simple, but I dont know whats going on... heres a brief example of whats going on....
    :GLOBAL.VARIABLE1 := 1;
    MESSAGE(:GLOBAL.VARIABLE1);
    MESSAGE(:GLOBAL.VARIABLE1);
    :LOAN_DEALS.DEAL_KEY := :GLOBAL.VARIABLE1;
    MESSAGE(:LOAN_DEALS.DEAL_KEY);
    MESSAGE(:LOAN_DEALS.DEAL_KEY);
    so basically im setting the global variable to 1, debug message it out and it looks right from forms... I set the bind variable to the global variable and debug message it out and its NOT 1... its the previous value (which is 5 to begin with)....
    The global is assigned by another form using the CALL_FORM built in, but I dont think it matters since the value made it through the exit_form of the form being called... anyone run into this before? Please let me know... thanks in advance..

    I figured it out.
    The coding was in a when button pressed trigger. In this trigger there is coding that updates the child record of the parent bind variable I was trying to change. The child record had a trigger which updates the parent record from the backend, which in turn locks the record from the forms end. Since I didnt requery before attempting to change a locked record, the changes simply just dont take....
    Took me 6 hours to figure that one out!!!

  • Form Builder 6.0

    Hi,
    I am developing applications using Forms 4.5, Forms 5 and now I
    am using forms 6.0.
    I have a log on screen with 2 fields for user id and password.
    In the When-New-Form-Instanace of my form I use LOGON built in
    to log on using a valid oracle user. Then in When New Block
    Instance I use LOGOUT Built in to log out ( disconnect from
    Oracle RDBMS). Now when I run the form I over ride the default
    logon screen and the navigation at the user id field (as I want
    it to be). after entering a valid username and a password(
    oracle user), i have a button which when ressed connects to the
    Oracle Database. In the buuton I use the LOGON built in.So far
    so good.
    The problem is that after the LOGON built in i use CALL_FORM
    built in to open the next form in my aplication.But the
    subsequent form doesn't open at all .ie when the buton is
    pressed a conection to the Oracle Database is established, but
    the called form is not opened.The cusor comes back to the button
    (connect button).
    I would like to know how to create a customized logon screen
    using form builder.
    Thanks Bye. Sorry if there is any spelling mistakes
    null

    There currently is a bug in 6.0 that does not allow the use of
    open_form. They tell me that this will soon be fixed. I'll
    leave the definition of "soon" up to you.
    S.Thiruchendhuran (guest) wrote:
    : Hi,
    : I am developing applications using Forms 4.5, Forms 5 and now I
    : am using forms 6.0.
    : I have a log on screen with 2 fields for user id and password.
    : In the When-New-Form-Instanace of my form I use LOGON built in
    : to log on using a valid oracle user. Then in When New Block
    : Instance I use LOGOUT Built in to log out ( disconnect from
    : Oracle RDBMS). Now when I run the form I over ride the default
    : logon screen and the navigation at the user id field (as I want
    : it to be). after entering a valid username and a password(
    : oracle user), i have a button which when ressed connects to the
    : Oracle Database. In the buuton I use the LOGON built in.So far
    : so good.
    : The problem is that after the LOGON built in i use CALL_FORM
    : built in to open the next form in my aplication.But the
    : subsequent form doesn't open at all .ie when the buton is
    : pressed a conection to the Oracle Database is established, but
    : the called form is not opened.The cusor comes back to the
    button
    : (connect button).
    : I would like to know how to create a customized logon screen
    : using form builder.
    : Thanks Bye. Sorry if there is any spelling mistakes
    null

  • How to make the application temporarily stop (pause)

    Hi,
    I'm using Jdev 11.1.2.3.0
    My use case is:
    + I have index.jsf: load list of regions (List<TaskFlowBindingAttributes>)
    + in an action of one region (For ex: A-flow.xml), i will add another region to the list of regions
    addDynamicRegion("B-flow);  
    + My requirement is: all codes after <<addDynamicRegion("B-flow); >> will be wait util the app finish adding B-flow.xml and get out of B-flow
    +  this action is the same with : Call_Form Built-in of Oracle Forms
    P/s: my addDynamicRegion is just simple :
    public void addDynamicRegion(String flowId) {
    RunForm runForm = (RunForm)JSFUtils.getManagedBeanValue("runForm");
    TaskFlowBindingAttributes taskAtt = new TaskFlowBindingAttributes();
    String flowName = flowId.replace("-", "_");
    taskAtt.setId(flowName);
    taskAtt.setTaskFlowId(new TaskFlowId("/WEB-INF/" + flowId + ".xml", flowId));
    runForm.getTfBindingAtts().add(taskAtt);
    UIComponent form = getFormComponent(FacesContext.getCurrentInstance().getViewRoot());
    AdfFacesContext.getCurrentInstance().addPartialTarget(form);
    Thank you very much                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi,
      this action is the same with : Call_Form Built-in of Oracle Forms
    no, its not because a call form navigates to the called form module, which is comparable to a task flow call activity and not a region.
    http://imdjkoch.wordpress.com/2010/07/23/open_form-vs-call_form-vs-new_form/
    "Runs an indicated form while keeping the parent form active. Oracle Forms runs the called form with the same Runform preferences as the parent form. When the called form is exited Oracle Forms processing resumes in the calling form at the point from which you initiated the call to CALL_FORM."
    (Note: I appreciate any ADF vs. Forms comparison if technically its done correctly)
    The regions in a view load according their af:region tags and as such you wont be able to pause loading unless you use the activate condition to point to a managed bean property that returns false so that the region is not initialized.
    This is from the JavaDocs of the Class TaskFlowBindingAttributes.
    "Set of attributes that define a TaskFlowBinding object. The taskFlowList attribute of the multiTaskFlow element of the page definition uses a list of object of this type to describe each taskflowBinding that the multiTaskflow binding contains. The order of this list defines the order of the region objects in the multiTaskflow binding. "
    So adding a region does not give you a chance to stop further loading and you will have to work with not activating not yet loaded regions, which then you need to load manually.
    Frank

  • Urgent: "Exit" in MainMenu Does Not Exit Application Right Away, Why?

    Hello All,
    We have many forms accessible from the MainMenu. I recently modified two forms (Form-a & Form-b) by using the CALL_FORM built-in in Form-b to call Form-a to allow users to return to Form-b with previous parameters and query search results. After the change implementation, all works okay except now our users sometimes have to hit the “EXIT” button in the MainMenu to exit the application more than several times(five times in one case I know of). The following is the PL/SQL code for “EXIT” in the MainMenu:
    BEGIN
      --check_update;
      IF :GLOBAL.SESSIONS > 1 THEN
        REMOVE_SESSION;
      END IF;
      DO_KEY('EXIT_FORM');
    END;Any thoughts/suggestions on this?
    Thanks in advance,
    Jinlan
    --

    hi
    try something like this.
    BEGIN
      --check_update;
    :global.sessions :=null;
      IF :GLOBAL.SESSIONS > 1 THEN
        logout;
      END IF;
    do_key(' exit_form'); -- you have to press F4 to exit
    END;If its Correct/Helpful please mark it. Thanks.
    Sarah
    Edited by: S@R@h on Nov 3, 2009 8:55 PM

  • Calling a form in query mode

    Hi,
    I have a form "Ledger" in which i have a detail block with the following fields
    1. Voucher no.
    2. Date
    3. Account Code
    4. Posted
    and also i have a form master detail for vouchers entry...and it has three buttons for ENTER QUERY, EXECUTE QUERY AND EXIT QUERY and also ADD, EDIT & DELETE button as well where user query, add, edit and delete vouchers from there. Plus it has a voucher no. field.
    I want user to double click on any of the records in ledger form's DETAIL BLOCK and on double click i want to call "Voucher Entry" form in enter query mode and the voucher no value from ledger form should be copied from there and automatically fill in "Voucher entry" (newly called) form and execute query from there..
    How to do that...plz tell me
    Thanks

    Hi, sorry for my English!
    So, at block level (detail block) add trigger WHEN-MOUSE-DOUBLECLICK.
    Add the call_form built-in (view form builder help for syntax).
    In the "When-new-for-instance" on called form call the built-in "enter_query".
    For the item "Voucher entry" there are two way:
    the first one is to create a global variable(on the primary form) and then use it in the second form before the enter_query;
    the socnd one is to call form whit parameter list (see the help for the built-in call_form).
    Attilio

  • WHERE IS THE SCROLLBAR?

    HI,
    I HAVE SOME FORMS WHERE I SET YES TO SCROLLBARS IN THE PROPERTY OF WINDOW, WHEN I RUN IT I CAN SEE THE SCROLLBAR BUT WHEN I ACCESS THE SAME FORM THROUGH THE APPLICATION SERVER I CAN'T SEE THE SCROLLBARS.
    CAN ANYONE HELP ME PLEASE?
    THANKS

    I'm using oracle 9iDs Rel 2 forms version 9.0.2.7.0 installed on windows XP. When I create a fresh new form (test.fmb)and set the property on windows for scrollbar =YES and run that form I can see the scrollbar. After that I deploy the same form test.fmx on my application server(Rel 2(9.0.2.0.1)installed on WIN XP) and access that form. When I do that I can't see the scroll bar for that form.
    Note: I call that test.fmx through main1.fmx using call_form built-in.
    Any ideas?
    Thanks.

Maybe you are looking for