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.

Similar Messages

  • 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.

  • 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');

  • 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 :) )

  • 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

  • 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;

  • 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

  • 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;

  • 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-10242:  Cannot call linked-in Forms from Form Builder. error

    FRM-10242: Cannot call linked-in Forms from Form Builder.
    Cause: The menu designer specified a call to linked-in Forms from within Form Builder.
    Action: Notify your DBA.
    does anyone know why this happens.
    I have this main-menu.. and when i click on one of the submenus which should call the form....i get this error.

    Same issue here... Been trying to get this working since a week now. I tried all the solutions like memory heap and all but no luck.
    One thing that I would like to know is that, in some threads the resolution was to recompile the INS_FORMS.MK file under /forms/lib32 but with my installation I don't have that "lib32" folder under /forms/ and I can not even find that file anywhere in my entire installation.
    I am using 12.1.1 on Windows Server 2008.
    Any help or guidelines is greatly appreciated.
    Santhosh.

  • Error message:FRM-12001: Cannot Create the record group(check your query)

    Requirement: Need to get employee name and number in the LOV in search criteria.
    So I created LOV "full_name" and Record group Query under Employee Name property palette with
    select papf.title||' '||papf.last_name||', '||papf.first_name||' '||papf.middle_names emp_full_name
    ,papf.employee_number
    from apps.per_all_people_f papf, apps.per_person_types ppt
    where sysdate between papf.effective_start_date and papf.effective_end_date AND papf.person_type_id=ppt.person_type_id AND ppt.system_person_type IN ('EMP', 'OTHER', 'CWK','EMP_APL')
    AND PPT.default_flag='Y' and papf.BUSINESS_GROUP_ID=1
    order by papf.full_name
    I was unable to save and getting error message "FRM-12001: Cannot Create the record group(check your query)".
    I cant use PER_ALL_PEOPLE_F.FULL_NAME since full name here is last_name||title||middle_names||firstname.
    But my requiremnet is papf.title||' '||papf.last_name||', '||papf.first_name||' '||papf.middle_names emp_full_name .
    Can any one of you help me.

    First, Magoo wrote:
    <pre><font face = "Lucida Console, Courier New, Courier, Fixed" size = "1" color = "navy">create or replace function emp_full_name ( p_title in varchar2,
    p_last_name in varchar2,
    p_first_name in varchar2,
    p_mid_names in varchar2 ) return varchar2 is
    begin
    for l_rec in ( select decode ( p_title, null, null, p_title || ' ' ) ||
    p_last_name || ', ' || p_first_name ||
    decode ( p_mid_names, null, null, ' ' || p_mid_names ) full_name
    from dual ) loop
    return ( l_rec.full_name );
    end loop;
    end;</font></pre>
    Magoo, you don't ever need to use Select from Dual. And the loop is completely unnecessary, since Dual always returns only one record. This would be much simpler:
    <pre><font face = "Lucida Console, Courier New, Courier, Fixed" size = "1" color = "navy">create or replace function emp_full_name
    ( p_title in varchar2,
    p_last_name in varchar2,
    p_first_name in varchar2,
    p_mid_names in varchar2 ) return varchar2 is
    begin
    Return ( Ltrim( Rtrim ( p_title
    ||' ' ||p_last_name
    ||', '||p_first_name
    ||' ' ||p_middle_names )));
    end;</font></pre>
    And second:
    user606106, you did not mention how you got your record group working. However, you DO have an issue with spaces. If you change this:
    <pre><font face = "Lucida Console, Courier New, Courier, Fixed" size = "1" color = "navy">select papf.title||' '||papf.last_name||', '||papf.first_name||' '||papf.middle_names emp_full_name
    ,papf.employee_number </font></pre>
    to this:
    <pre><font face = "Lucida Console, Courier New, Courier, Fixed" size = "1" color = "navy">select Ltrim(Rtrim(papf.title||' '||papf.last_name||', '
    ||papf.first_name||' '||papf.middle_names)) AS emp_full_name,
    papf.employee_number</font></pre>
    it should work. The Ltrim(Rtrim()) removes leading and trailing spaces from the resulting full name.

  • 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

  • Everytime I copy pages from one ID CS3 doc to another, it re-applies the master page objects!!

    Please Help, This is a topic I would really like to get to the bottom of. We have InDesign CS3 templates for creating our reports. These templates contain around 10 different master pages with grey placeholder image boxes and text boxes with dummy te

  • This operation could not be completed as there is no video

    I get this response from final cut when I try to capture footage. I have a Sony TRV950 which works fine using my windows PC capturing with Sony Vegas

  • How to make an image clickable region?

    Hi Please see the image below, in particular I have a seperate layer READ MORE, I want to save this image as a PNG file and in my HTML page make the READ MORE region like a clickable button. I know I can slice this into a seperate image and wrap in a

  • Compiling Errors with latest air sdk

    Not sure if any is having similar issues but here it is: Using latest Apache Flex SDK (4.9.1) -- used the installer. After that I overlayed the latest AIR SDK (did this three times to make sure I did right -- have done multiple times before) Updated

  • HT201272 i did not get "fruit ninja HD" after i pay

    order number:MHDYMFJTVF I did not get "fruit ninjaHD" after I paid on yesterday. fruit ninjaHD still ask me to pay$2.99 when I receive a recipt today. now,I don't want this app, can I apply a refund for this?