FRM-41361 Cannot navigate out of current form in Enter-Query Mode

Hi All,
I am getting the FRM-41361 error in the bottom message area when opening a form from the function navigator. The issue does not exist when opening the form from the application homepage. The form is loaded in enter-query mode, and the enter_query command is in the WHEN-NEW-FORM-INSTANCE trigger. I have checked all triggers that fire after this point for any type of navigation but do not see any. The interesting thing is, if I put a fnd_message.set_string and fnd_message.show just before the enter_query call to debug, the issue goes away entirely.
Is it possible there are security triggers firing after the form is loaded into enter-query mode that could be causing this and that the fnd_message calls are indeed buying time for those triggers to complete before the enter_query call?
Any help/advice is appreciated. Thanks!
Dan

Yes, when I looked through the triggers I made sure to look for go_block and go_item calls as well as any calls to leave the form.

Similar Messages

  • Forms 6i error FRM-41351 Cannot navigate out of current form

    Does anybody know why this error occurs?
    I have an ordinary Forms 6i module, running in 2-tier (client-server) mode. When I try to do an EXIT_FORM, I get an error:
    "FRM-41351: Cannot navigate out of current form"
    My form is called from a top-level form, but plenty of other forms are also called in exactly the same way from the top-level form, and none of them causes this error, and I can see no other reason why this form should produce this error.
    The Forms 6i help entry for this error is meaningless, and I can find no information about it on the web or on the Oracle TechNet, so any advice would be very welcome!
    Thanks,
    Chris

    You may be hitting Bug:1632441, which is fixed in patchset 12. If either form has a When-Window-Deactivated trigger, try disabling that and see if you still have the problem. If not, then as a workaround you may be able to put that logic in a when-form-navigate trigger instead. Or you can programmatically trap the error in an On-Error trigger if you are actually able to navigate out of the form. See the bug for more details.

  • FRM-41351 Cannot Navigate Out of Current Form

    I have an Action Item to call another form. Sometimes (not always) when exit out of called form the above error occurs.
    I have added the above message to qms_messages setting to suppress but the message still appears.
    I am using call method of CALL_FORM with display of HIDE as QMS$AI_CALL_FORM doesn't appear to take any note of the display of HIDE.
    Any help would be appreciated.
    Thanks.

    It is indeed a bug.
    We have the same problem, but we have added a line to the QMS$INIT_APPLICATION procedure in the application library to suppress the message. And that works fine.
    Add the following to the procedure:
    -- Suppress error FRM-41351 Cannot navigate out of current form (Forms bug 871936)
    qms$forms_errors.add_suppress_message('FRM-41351');

  • Error "Cannot navigate out of current form" is raised after closing window.

    Hello,
    We are currently migrating from Designer 6.0 with Headstart 2.1.2 to Designer 6i release 4.10 with Headstart 6.5.3.0. We have a form with an action item in it to call another form. An error FRM-41351 "Cannot navigate out of current form" is raised when the following steps are undertaken:
    - Start the generated form (from the menu).
    - Push the button the call the second form.
    - Close the second form.
    - Close the first (parent) form.
    If we start and close the first (parent) form without have started the second one, this error is not raised.
    After some investigation, the problem seems to have something to do with the library OFGNAVL65.PLL. It looks the generated form tries to close a window based on a non-existent ID.
    Has anyone experienced this same problem? Can you help me?
    Kind regards,
    Bert

    IF ID_NULL(FIND_FORM('TEST')) THEN
    OPEN_FORM('TEST');
    ELSE
      GO_FORM('TEST');
    END IF;

  • FRM:41361 Cannot navigate out of form in 'Enter Query Mode'

    Hi,
    I am using a master - detail block in my form.When I query the master block I am getting this error message
    FRM:41361 Cannot navigate out of form in 'Enter Query Mode'
    I have given DO_KEY('ENTER-QUERY') in WHEN-NEW-BLOCK-INSTANCE trigger of master block.
    and in property palette of Master block I have given the next navigation block as Detail block.
    According to the value which is queried in Master Block the Detail block should be populated.
    My form should open in 'Enter Query Mode'.This problem always happens from second time onwards
    I open the form.When I open the form first time this problem is not occuring.
    Can anyone suggest a solution for this
    Thanks,
    Nasiya

    Have you written a Key-EntQuery trigger at the Master block or the form level,
    If yes, then can you put that code here.
    The NEXT-NAVIGATION-BLOCK is only used for navigation when you use a next-block built-in on a key-trigger.
    Have you written a ENTER-QUERY command on any trigger that fires prior to the said WHEN-NEW-BLOCK-INSTANCE trigger?
    If yes, then thats the reason that the first time you run the form, your form is in ENTER-QUERY mode.
    Also, maybe execute on enter-query fails and hence the blocks are not getting populated.
    Also, ENTER-QUERY is always on a single block. And while the block is in enter-query mode, navigation out of that block is prohibited.
    you have to either have a successful EXECUTE-QUERY or use:
    EXIT_FORM(NO_VALIDATE) to come out of ENTER-QUERY mode.

  • Cannot navigate out of current form

    hi
    i have a formmodule id filled correctly. And i need to navigate to this form through this id.
    Therefore, i use go_form(myformmodule)
    when this particular form is closed, i got the error "cannot navigate out of current form".
    can i verify before that m form is still opened or not ? this will help me avoid the error message.
    help please
    thanks
    Dan

    IF ID_NULL(FIND_FORM('TEST')) THEN
    OPEN_FORM('TEST');
    ELSE
      GO_FORM('TEST');
    END IF;

  • Calling form in Enter-Query mode

    Hi
    how can i Have a form called from the menu (generated with
    headstart) start in Enter-Query mode ?
    Is there any method to do this easily ??
    TIA
    Olivier
    null

    Olivier,
    Look in the Headstart Template Package users guide. In the
    Runtime Behaviors chpt, under Inter-Form Navigation, Named Passed
    Values and Argument Passed Values, you will find an explanation
    of how to start a form in Enter-Query mode.
    Regards,
    Lauri
    Olivier GIBERT (guest) wrote:
    : Hi
    : how can i Have a form called from the menu (generated with
    : headstart) start in Enter-Query mode ?
    : Is there any method to do this easily ??
    : TIA
    : Olivier
    null

  • Starting form in Enter-Query mode disables some buttons on Smartbar

    Whenn I run a form (on the Web) which starts in Enter-Query mode, the buttons "Execute Query" and "Enter Query" are disabled on the Smartbar. Also the corresponding menu options are disabled. Besides, it is psossible to use the appropiate keys (in my case: F7 and F8).
    Has anyone experienced the same problem and is there a solution?
    Let me know.
    Thanx

    Frank: Thats what i thought too -but i saw (in other Sources) that it could be done, but how..
    Eugeniy I Duzhinskiy:
    So, many Thanks to you. It works fine !!!!
    (Its great to see there are some other Forms Users out there :) )

  • Calling another form when current form is in query mode

    I have a form that is in query mode. When I select a menu option that calls another form through new_form, I get the error 'FRM-41009: Function key not allowed. Press Ctrl+F1 for list of valid keys.'
    I would like trap this error, cancel the query and invoke the new form. I have tried to do this by code similar to this:
    if :system.mode = 'enter-query' then
    exit_form ;
    end if ;
    new_form('someform') ;
    (since exit_form in query mode is supposed to cancel the query).
    But in this case, the trigger ends with the execution of the 'exit_form' statement.
    Any help would be greatly appreciated.
    Thanks and regards,
    Rajesh Jayaprakash
    [email protected]

    I think the following will work:
    When you call the EXIT_FORM builtin, Forms cancels out of Query Mode but also stops the current PL/SQ execution - which is annoying.
    I believe, though, that the WHEN-WINDOW-ACTIVATED trigger will fire on your Form. Therefore, you can:
    1) Set a Global Variable or PL/SQL packaged variable just before you call the EXIT_FORM builtin then
    2) Test the value of the Global Variable in the WHEN-WINDOW-ACTIVATED trigger and perform the CALL_FORM there.
    3) Even better, put the CALL_FORM and associated parameters into a Program Unit on the Form - then you can call it from either the original trigger or the WWA trigger as necessary.
    If this does not work, you could resort to:
    1) Set a Global Variable just before you call the EXIT_FORM builtin
    2) Initiate a TIMER
    3) Call the EXIT_FORM builtin
    4) In a WHEN-TIMER-EXPIRED trigger, check the value of the Global variable. If it's set, Call the Form you want to call
    5) Again, put the actual CALL_FORM in a Program Unit so it can easily be called with the correct parameters from wherever you need to call it.
    It's annoying that you need to go to these lengths to perform what seems to be such an easy task!
    If anyone knows any better ways of achieving this, please add another reply!

  • Starting a Search Form in "Enter Query" mode

    JDev 11.1.1.3 Windows 7 x64
    I have a page flow with 4 fragments - the first is a search form to look up the person.
    I need to enter this form in the "Find Mode (enabled)".
    I have tried using the method of dragging the "Find" from the iterator as the default item and linking it to the first fragment but this has no effect (it still retrieves the first record from the DB).
    I created an invokeaction - (preparemodel) this works for the first time - but not any other (seems to block the execution of the find button).
    I am not sure if this is a bug in 11g - but in my mind (find.execute) seems to indicate that it is doing what it should.
    I am not inserting any data - just retrieving a record.
    Anyone solve this before?

    Hi,
    maybe this will help you
    http://dstas.blogspot.com/2010/05/master-view-search-form-display-only.html
    Regards,
    Dimitris.

  • Open APPS  form in enter-query mode

    Hello all
    apps version 11.5
    i've created a shourtcut link that opens a specific apps form on specific responsability like
    http://<server_name>:8001/OA_HTML/RF.jsp?function_id=4893&resp_id=50239&resp_appl_id=551&security_group_id=0&lang_code=US
    the problem now that i want to send parameters for this form and execute query on this parameter
    so
    is there a way to open apps form and send parameters then execute-query directly from shourtcut or link created on the desktop ?
    Respectfully
    Khaled Farouk

    Hello all
    after along of search i'm so neear of the answer but i need some assistant from experts.
    i've reached this link which open a form and query on the data i need .
    http://<server_name>:8001/OA_HTML/RF.jsp?function_id=1634&resp_id=50244&resp_appl_id=-1&security_group_id=0&lang_code=US&params=U-iFUMNeed-3nkNG7BzN1Qr5evq7vJslGk3i3pf0ggqqSfgqDmLrk-JON9n4DZe6jMkSYPz2nfRW6va3P0GqgNlHfEu8pw6EWDZNq-MSgU1WFM5Qux.dsjTAX5J3jwjn&oas=_vSHxhm0ru79y-0HO91I_Q..
    but i'm still have a problem. how to change the parameter part? because this link is generated from the oracle Apps
    i want to change this part
    &params=U-iFUMNeed-3nkNG7BzN1Qr5evq7vJslGk3i3pf0ggqqSfgqDmLrk-JON9n4DZe6jMkSYPz2nfRW6va3P0GqgNlHfEu8pw6EWDZNq-MSgU1WFM5Qux.dsjTAX5J3jwjn
    thank all
    wiiling to have answer
    Respectfully
    Khaled Farouk

  • Start form in ENTER-QUERY HST6i DES6i

    Does any-one know this problem?
    We want to start an generated form Called by the menu or by an other form in ENTER-QUERY. We have tried to use the named passes values but that didn't have any effect. What are we doing wrong?
    null

    Theo et al.
    First, although you can enter NPV's and APV's against a module network link between a menu and form module, it will not be picked up by the generator. See the Headstart User Guide (and the example in the Headstart Demo application) for instructions on how to implement this very example (launching a form in ENTER QUERY mode from the menu).
    Between forms, the NPV should be picked up correctly, as the Inter Form Navigation screen in the Headstart Demo application will demonstrate. In both cases it will therefore not be necessary to create the CG$STARTUP_MODE parameter manually.
    A couple of general remarks concerning the use of NPV/APV: most values are case sensitive, and more often than you'ld think you are required to generate both the calling and the called form for the functionality to be implemented correctly.
    Kind regards,
    Peter Ebell

  • FRM - 41355 cannot navigate to form

    Hi,
    When I am calling a from in post-change trigger of other form, FRM-41355 cannot navigate to form error is coming.
    Can anyone help on this issue.
    Thanks,
    Dinesh.

    Please post the details of the application release, database version and OS.
    Is this a custom form? If yes, was the TEMPLATE.fmb file used?
    Please see if the following links help.
    https://forums.oracle.com/thread/239562
    http://docs.oracle.com/cd/E24269_01/doc.11120/e24477/appd.htm
    Also, you may need to enable debug and/or obtain FRD log file for details about the error -- Search the forum for "FRD" to get the docs you need to refer to.
    Thanks,
    Hussein

  • FRM-40039 Cannot attacth library While openning form (At Web Application Server)

    Dear All,
    We are migrating an application from developer 6 to developer
    6i, and we have some pls/sql libraries attached to our forms;
    the libraries were recompiled, reattached and the forms were
    recompiled too, neverthelse when we try to run the forms from
    the Web Application Server, we got the error FRM-40039 Cannot
    Attacth Library While Openning Form xxx. Also we set the
    FORMS60_PATH with the current librarie's path.
    Thanks in Advance.
    Francisco Aguilar.

    1. Do we have to place the PLL in the FORMS_PATH all the time. If i don't want to then what is the alternativeThere is no alternative. You can't expect the Forms Builder to read your PL/SQL Library if it can't find it. Therefore, you have to have the .pll some where the Forms Builder can* find it. This means you have to have it in a directory in your FORMS_PATH or you have to hard code the path to the library (this is not recommended at all because you would have to duplicate this path on your deployment AIX environment).
    Craig...

  • FRM-40200 and FRM-40501 in Enter-Query-Mode

    Some strange behaviour in Enter-Query-Mode:
    Although the help states
    About Designing Forms for Querying+
    +.. To make a "query-only" block, set Query Allowed to Yes and Delete Allowed, Insert Allowed, and Update Allowed to No. ..+
    I get FRM-40200: Field is protected against update.
    System.Mode says, we are currently in ENTER-QUERY.
    Setting insert- and update-allowed to TRUE, I get
    FRM-40501: ORACLE error: unable to reserve record for update or delete.
    The entered character flashes and is erased immediately.
    Any ideas?
    Forms 10gR2
    Items are base table, all transactional properties aund query_allowed are true, query_length is ok.
    2 Things that happen before the initiation of the enter-query-mode:
    . data-source is changed to another view; column names are ok.
    . all block-items are disabled and not navigable at start-up of form and re-enabled and made navigable before entering the block.
    The values of block and item-properties mentioned above are take at WHEN-NEW-ITEM-INSTANCE and no further trigger fire.

    I think you are not meaning just the KEY-ENTQRY-Trigger, that to easy
    IF INSTR(:SYSTEM.TRIGGER_BLOCK, '_DETAIL') = 0
    +               AND :SYSTEM.TRIGGER_BLOCK NOT IN ('VZG_KOPF','KONTROLL','BUTTONS','TEMP')+
    THEN
    +     ENTER_QUERY;+
    END IF;
    .. but the rest is a lil bit, let's call it bulky; including pll and db-packageges.
    I hoped to get a clue, if somebody has a similar expeience, in what direction to search. It's strange.
    And, as I noticed today, it's not a problem of all forms of the app. Not even of all the forms called from the same "environment" (same globals, same menu-form from which they are opened). To me it looks like Enter-Query does not work in the forms where I switch the block-data-source from a view to a globally temporary table. That (this switching) is not a new feature and Enter-Query worked in the past. Althoug we had some changes in the temp tables in the last weeks there are no problems in querying the data in the forms. Recompilation of pll and fmb, no improvement. And either Enter-Query woks in a form or it does not.

Maybe you are looking for

  • How do I use an external NAS (Synology Rackstation) as a storage device for Caching in OX Server?

    I have a folder shared over AFP and am connected, but can only see the local device in the storage selection area.

  • Help setting up or discovering a new router

    I just purchased a new cisco 881 integrated service router for my small business. I'm reasonably computer literate, but this is not my speciality and would appreciate some detailed help. I've already spent the day perusing every lead through the cisc

  • Best buy price match nightmare

    I placed an order online for in store pick up. A few days later the item went on sale on best buy.com. I am still within the return policy/ price adjustment time frame. The item was for the special edition ps4 white "bundle". It is the special editio

  • Can't Upgrade from AIR 2.0.2 to 2.0.3 on Vista SP2

    I received notification that my AIR needed to be updated. Each time the installer starts but just hangs in an endless loop. The .log shows that the installer "gets lost" looking for .MSI packages in non-existent folders. I've tried installing from th

  • Windows 8.1 Security Risk / Not able to log off a user

    Hello Community, First and foremost good morning, I hope everyone is having a good morning.  I'm in dire need of a solution.  The company I work for has four (4) standalone computers with Windows 8.1 which are located in a break room for, you guessed