Getting Do you want to save changes while pressing F11

Hello,
I created one Custom Form by using template.fmb. In that 2 database blocks and 2 control blocks. In database blocks also couple of items are non database items. When ever I open the form from Oracle Applications and pressing F11 with out doing any changes then it is prompting for Do you want to save changes? If i am pressing Yes then (in my form i am using sequence). that one is generating and saving. After saving it is going into enter query mode.
Can you please help me out how to avoid this message and why this message is coming.
Regards,
Akash Vandan

You are getting this problem because you are probably modifying one of the fields in PRE or WHEN-NEW triggers. Just check if you have assigned any value to the fields using. you can search for colon (:).
Just delete that part of code and your form will work fine.
Regards,
Ashish Kanak

Similar Messages

  • Keep Getting 'Do you want to save changes Msg'

    Hi all
    Have a small form, two multi-record blocks, everything works ok, have no commits or anything in it but keep getting the message 'do you want to save changes?' if I clear query or exit form, if I press yes I get frm-40400 X amount of records saved when nothing has been changed.
    I have another very similar form project more or less the same but with only one block and it doesn't do this??
    Any ideas?
    Andrew

    I have used built in exit_form on a key exit form trigger and this has stopped message when I exit form.
    exit_form(no_commit, no_validate);
    But when I clear the query the 'Do you want to save' message still appears and also a message at the bottom left saying:
    Press CTRL + Tab to move between choices, ENTER to select.

  • Query on Custom schema table getting 'Do You want to save changes' message

    Hi all,
    I am getting the error message whenever I query from the custom table. Here is the description of the issue.
    1. I have a button on the first block. When the user clicks on this button , execute_query is called on another block. Then the user getting the message "do you want to save the changes" . Although there are no changes made on the form.
    2. The second block is based on a custom table defined on the custom schema.
    3. Created public synonym for this table and also gave the all the grants to apps schema on this table.
    4. This error was not coming before when the second block is based on Apps schema table.
    Any idea on how to fix this.
    Thanks

    I doubt the problem is related to a schema or public synonym. The message is appearing because the value for an item is being changed after your query executes.
    First check to make sure that the blocks that are not based on a table are set to No. See the Database Data Block Property.
    If that doesn't solve the problem, then run the debugger and watch to see what item is changing. You may be doing something in a trigger.

  • Getting: Do you want to save changes? When there are no changes?

    Forms [32 Bit] Version 10.1.2.3.0 (Production)
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
    I have a form that always prompts me if I want to save changes after querying a record and then exiting or trying a new query. I cannot figure out what changes it is asking if I want to save as nothing has been changed on the form. Is there a way to track what is causing this or where it is coming from?

    Are the "Non-Database" items part of a base table block? If so, when you assign a value to these items - even though they are non-database items - Forms will record that the something in >the block has changed. Hi Craig, thats not true. You can change non-db-items in a base-table-block without the record-status beeing changed. Changeing the record-status only happens when the property "Lock record" is set to true, or if there is a WHEN-VALIDATE-ITEM-trigger on the non-db-item which changes a db-item.
    You should always have put non-base table items in a Control Block.Thats also not true. You have non-base-table-items in nearly every basetable-block, think of all the lookup-items. How would you synchronize records in your db-block and your control-block?

  • 'Do you want to save changes you have made' while closing the form

    Hi Everyone,
    I am working on Oracle Applications 11.5.10.2 version. I have created a new form as per the client requirement and registered with APPS. I met all the requirements, but when ever closing the form getting the error 'Do you want to save changes you have made' without entering or modifying records in he form.
    Please help in this regard, bit urgent.
    Thanks in Advance..
    Venky.

    Hi,
    You can suppress messages depending on their message level. For a full description and examples on this topic, please see the help in Forms Builder (press F1 in your Builder) and search for :system.message_level.
    or the other way would be.
    As you are using the copy command for moving the data from one block to the other block , the status of the block will be changed to "Modified".As per oracle standards when every the block status is modified it fire the meassage 'Do you want to save changes you have made' .
    To avoid the message you need to change status of each line to "Query" .Once you do this the block status automatically changes to "query" .Once it is in query mode when you try to close the form it will not pop-up the above message.
    To change the line status use POST command . To get help on this command you can use form builder help.
    Hope this serves your purpose.
    Let me know if you need any further clarification.
    Rgds,
    Naveen.

  • Do you want to save changes message while close pdf

    hi everyone...
    I am very new to PDF programming
    basically I wrote my program in notepad and I saved it as .pdf format
    but when I open it and try to close it..it showing me pop up like do you want to save changes..which is I dont want to happen...
    is any one have idea what changes i have to do or how i make my file readonly....
    thnks in advance...

    thanks Irosenth,
    Well my requirement is very small.....
    I am not using many XObjects In my program except one which is for Image
    ok Following code , I  copied from PDF refe tutorials. Even that is also not working(Asking me for Save before close).. can anyone correct xref to avoid that error
    %PDF-1.4
    1 0 obj
    << /Type /Catalog
    /Outlines 2 0 R
    /Pages 3 0 R
    >>
    endobj
    2 0 obj
    << /Type /Outlines
    /Count 0
    >>
    endobj
    3 0 obj
    << /Type /Pages
    /Kids [4 0 R]
    /Count 1
    >>
    endobj
    4 0 obj
    << /Type /Page
    /Parent 3 0 R
    /MediaBox [0 0 612 1000]
    /Contents 5 0 R
    /Resources << /ProcSet 6 0 R >>
    >>
    endobj
    5 0 obj
    << /Length 883 >>
    stream
    % Draw a black line segment, using the default line width.
    150 250 m
    150 350 l
    S
    % Draw a thicker, dashed line segment.
    4 w% Set line width to 4 points
    [4 6] 0 d% Set dash pattern to 4 units on, 6 units off
    150 250 m
    400 250 l
    S
    [] 0 d% Reset dash pattern to a solid line
    1 w % Reset line width to 1 unit
    % Draw a rectangle with a 1-unit red border, filled with light blue.
    1.0 0.0 0.0 RG% Red for stroke color
    0.5 0.75 1.0 rg% Light blue for fill color
    200 300 50 75 re
    B
    % Draw a curve filled with gray and with a colored border.
    0.5 0.1 0.2 RG
    0.7 g
    300 300 m
    300 400 400 400 400 300 c
    b
    endstream
    endobj
    6 0 obj
    [/PDF]
    endobj
    xref
    0 7
    0000000000 65535 f
    0000000009 00000 n
    0000000074 00000 n
    0000000120 00000 n
    0000000179 00000 n
    0000000300 00000 n
    0000001532 00000 n
    trailer
    << /Size 7
    /Root 1 0 R
    >>
    startxref
    1556a
    %%EOF
    xref
    5 1
    0000000179 00000 n
    trailer
    <<
    /Root 1 0 R
    >>
    thanks in advance.

  • Supress Prompt 'do you want to save changes to the design of form...

    Using Access 2007 SP2.
    I have an unbound main form(Master page) with a datasheet subform in an mdb.
    Close button is on the main form with the following code 
    DoCmd.Close acForm, Me.Name, acSaveNo
    I have tried with multiple scenarios but none of them got succeed(Below are those)
    set SourceObject property to "" while Unload
    SetWarnings  False in Form_load
    When I close the form I am prompted with  'do you want to save changes to the design of form...'
    Is there any way to suppress this annoying message?
    Can anyone help on this
    Thanks in advance

    When I close the form I am prompted with  'do you want to save changes to the design of form...'
    Which form is it prompting you about saving, the main form or the subform?  If you close the main form with "DoCmd.Close acForm, Me.Name, acSaveNo", I wouldn't expect you to get a prompt about saving changes to that form.  But I could
    see you getting a prompt about saving design changes to the subform.  Are you making any design changes to the subform while in form view, such as filtering, sorting, column-resizing, etc?
    Dirk Goldgar, MS Access MVP
    Access tips: www.datagnostics.com/tips.html

  • Adobe Reader X (free) -- "Do you want to save changes" prompt

    Why is this prompt always coming up when I close a PDF document?
    "Do you want to Save Changes to  X   Before closing?"
    I am using the free Adobe Reader X 10.1.1.  I can't make any changes to the file since it's the free version, so why is it asking me to save changes?  Even if I just open the file and just close it right away without doing anything else the prompt comes up.

    I think pretty much any PDF created by CutePDFWriter did that (as well as others not created that way, but CutePDF seemed to do it reliably).
    To verify that I'd have to un-install 9.5.0 and re-install Reader X, which I'd rather not do (9.5.0 is better in other ways too - the integration with Chrome is nicer because the "print" and "save as" buttons always appear; they hardly ever appeared in Reader X when opening a PDF from Chrome).
    You can get CutePDFWriter here: http://www.cutepdf.com/products/cutepdf/writer.asp
    Let me know if you can't reproduce the problem (just post here) and I'll un-install/re-install, verify a file with the problem, and post it.
    For now I'm very happy with Reader 9.5.0; it's perfect.

  • Master-detail raises Do you want to save changes

    Dear all,
    my form is of 1 master block and 3 details to that block, now whenever i tried to exit the form a Do you want to save changes? message is displayed but whenever i delete any one of the relations the message doesn't appear..
    plz any help is appreciated

    The problem is that some of the records are marjed as dirty - If you're not actually changing anything manually and you still get the error, then check that you've not got any POST-QUERY triggers updating DB fields or the use of LOV for validation which can also mark a record as dirty.
    You can of course supress / ignore the DYWTC message using EXIT_FORM(NO_VALIDATE) or similar, but you'lll probaly want to double check the cause of the record update first.

  • Do you want to save changes you have made

    hi guys,,
    I need ur help
    I ve a form which retrieve employee data,,
    there are 8 blocks in the form,,
    i created a when mouse click trigger to show a LOV
    declare
    a boolean;
    begin
    a:=show_lov('TEST');
    pc_execute; -- calling a procedure
    END;
    but it gives Do you want to save changes you have made?
    and I tried to suppress this by setting system message level = 25
    but no benifit,,
    And if I write :
    declare
    a boolean;
    begin
    a:=show_lov('TEST');
    GO_BLOCK('ORG_EMP_INCREMENT_HISTORY');
    pc_execute; -- calling a procedure
    END;
    the message will disappear but the query will not execute all blocks
    ANY suggestions
    Best Regards

    Al-Salmau Alikum We Rahamatu Allah We Barakatu...
    if u wanna getting ur total records of emp block then do this as an example ...
    FUNCTION query_count (p_block_name VARCHAR2) RETURN NUMBER
    IS
      cnt NUMBER;
    BEGIN
      GO_BLOCK(p_block_name);
      COUNT_QUERY;
      cnt := GET_BLOCK_PROPERTY(p_block_name, QUERY_HITS);
      IF FORM_SUCCESS THEN
        RETURN (cnt);
      ELSE
        MESSAGE('Error in getting Query Hits for block '||:SYSTEM.CURRENT_BLOCK);
        RAISE FORM_TRIGGER_FAILURE;
      END IF;
    END;and notice the result in the status bar...
    But if u wanna have data it's another issue...
    so u have to do for example...
    IF NOT Id_Null(blk_id) THEN 
        Set_Block_Property('block_name',DEFAULT_WHERE,'emp_id = ' || emp_id);  
       Execute_query;  
       ELSE       Message('You have a problem!');     
    RAISE Form_Trigger_Failure;  
    END IF; Hope this helps...
    Regards,
    Abdetu..

  • Do you want to save changes button code

    Hi guys,
    Quick question which I was wondering if anyone could help me out. When a form has changed and you press the x button you get the message do you want to save changes? with a yes or no option. Is it possible to put code in to trigger of these yes/no buttons when clicked and if so how would I go about doing this?
    Thanks.

    hello
    if i got your need so you will need to create alert
    then start coding
    examlpe
    1- create alert called save_record
    2- in key exit trigger write this code
    DECLARE
    al_id Alert;
    al_button NUMBER;
    BEGIN
    al_id := Find_Alert('save1');
    IF Id_Null(al_id) THEN
    Message('User_Warning alert does not exist');
    RAISE Form_Trigger_Failure;
    ELSE
    /* ** Show the warning alert */
    al_button := Show_Alert(al_id);
    ** If user pressed OK (button 1) then bring up another
    ** alert to confirm -- button mappings are specified
    ** in the alert design */
    IF al_button = ALERT_BUTTON1 THEN
    al_id := Find_Alert('Are_You_Sure');
    IF Id_Null(al_id) THEN
    Message('The alert named: Are you sure? does not exist'); Message('The alert named: Are you sure? does not exist');
    commit;
    exit form;
    RAISE Form_Trigger_Failure;
    ELSE
    al_button := Show_Alert(al_id);
    IF al_button = ALERT_BUTTON2 THEN
    null;
    END IF;
    END IF;
    END IF;
    END IF;
    END;
    Edited by: Khaled Farouk on 27-May-2013 07:09

  • Do you want to save changes - appears twice in master-detail form.

    Hello.
    Sometimes ago i wanted "Do you want to save changes" message in my own language.
    So i created trigger:
    if :system.form_status IN ('CHANGED') then
         alert_response := show_alert('CHANGES');
         if alert_response = alert_button1 then
              commit_form;
         elsif alert_response = alert_button2 then
              clear_block(no_commit);
         elsif alert_response = alert_button3 then
              raise form_trigger_failure;
         end if;
    end if;
    I call that trigger in many other triggers like enter_query, ...
    Everything worked fine until i created form with master_detail block.
    The problem:
    I have a form with two blocks. One master, one detail.
    If i change something in detail block, go to master block item and press enter_query problem appears.
    First i get the message "Do you ..." in my language. When i press NO or CANCEL i get again the message "Do you ..." in original (english) language?
    Why is that?
    Should i call my trigger somewhere else and not just in enter_query trigger (for this problem) or is checking form_status not enough?
    Thanks.

    When you create relation, 3 procedures are automatically created for you.
    Check_Package_Failure, Clear_All_Master_Details and Query_Master_Details.
    When you execute clear_block(no_commit) on the master block -
    Clear_All_Master_Details will fire.
    If you check Clear_All_Master_Details you will find following code there:
    Go_Block(curblk);
    Check_Package_Failure;
    Clear_Block(ASK_COMMIT); -- This statement causing "Do you want to save changes" to appear

  • Closing Error - Do you want to save changes to '..... . pdf' file?

    Hi,
    I am kinda stuck with this error for a long time now and I always thought that changing to a new PC would resolve the issue. Unfortunately that did not help and hence I am seeking a solution using this community forum.
    In brief, whenever I try to close a pdf file, it prompts me with an error asking "Do you want to save changes to '..... . pdf' file" when I have not made any changes to the actual file. Could someone please get back to me on how to resolve this issue? It is quite annoying for the fact that sometimes I get more than 10 pdf files opened and closing them one by one with this error is just too much of an ask.
    I look forward to hearing from technical gurus out there and would really appreciate any prompt replies.
    Many Thanks,
    YSF

    - Just tried the file you sent and there weren't any issues there. I saved the file and then closed it successfully without any prompts popping up.
    - In regards to the opening of the files, I am opening them from within Adobe Reader itself.
    - The pdf files basically are forms and don't include any interactive elements. So this is how it works, I use the print command from the database to save the file in pdf. Once the file is saved and opened, that is when I get the error message when closing the file.
    Hope this help. Really appreciate your prompt response there!!

  • How to remove the warning "do you want to save changes to investigation.pdf before closing"

    Issue: To remove the warning "do you want to save changes to investigation.pdf before closing"
    I have created a XFA pdf file(using LC Designer 8.2) to display this issue
    I am not able to attached the PDF. Without attaching the pdf it would be difficult to explain.
    click event js:
    function activateUser() {
      var PDFVersion=xfa.host.variation+xfa.host.version;
      xfa.host.messageBox("button click event registered");
      xfa.form.form1.sendForm.welcomeMsg.presence = "invisible";
      xfa.form.form1.sendForm.successMsg.presence = "visible";
      event.target.dirty=false;
    docReady event js:
    function displayInfo(){
    var res =xfa.host.variation;//Added this line to display the successMsg
    //xfa.host.messageBox("docReady event registered");
    xfa.form.form1.sendForm.welcomeMsg.presence = "visible";
    xfa.form.form1.sendForm.successMsg.presence = "invisible";
    docClose event js:
    xfa.host.messageBox("docClose event registered");
    event.target.dirty=false; 
    Steps to get the warning:
    1) Open the attached pdf using Acrobat Professional.
    2) Click the Confirm Enrollment" button
    3) Now close the document & the acrobat gives a warning "do you want to save changes to investigation.pdf before closing"
    Summary of the XFA pdf:
    It has two text fileds. On docReady event field A is made visisble & field B is made invisible.
    On button click event the field A is made invisisble & field B is made visible.
    On closing the pdf it should not throw this warning message.
    My Efforts:
    1) Found a property in adobe js docs.
           event.target.dirty=false;
    It doesn't solve the problem.
    2) I tried to put this logic in almost all the events listed in designer but I am not able to resolve the issue.
    Please help me resolve this issue.

    I tried putting the below 2 lines of code at the end of button click event & docClose event.
          event.target.dirty=false;
          event.target.requiresFullSave=false;
    It still gives the warning.
    Also I tried to found out the line of code which is making the pdf dirty.
      xfa.host.messageBox("is doc dirty (before displayInfo's visible-invisible work): " + event.target.dirty);
      xfa.form.form1.sendForm.welcomeMsg.presence = "visible";
      xfa.form.form1.sendForm.successMsg.presence = "invisible";
      xfa.host.messageBox("is doc dirty (after displayInfo's visible-invisible work): " + event.target.dirty);
    The doc got dirty when the successMsg field is made invisible.
    Problem I am trying to solve is:
         To display a welcome message before user action and after user action wants to display a success message.
         I follwed the visible & invisible approach & it wokred but gives me a warning on doc close.(Highly imp to avoid it)
    Is there any other approach I could follow here.

  • I am getting Do you want to save .....?

    Hello world ,
    i am facing this problem ,
    each time i open the form and just do query when i want to exit i am getting do you want to save the changes you have make ?
    help

    Hi,
    You can bypass this message, this comes because some database item is modified in the post-query, and the record/block status is changed. Use set record property and set the record status back to query mode from changed. I think this should solve your problem.

Maybe you are looking for

  • Testing Server / 'Live View' not working

    Hey guys, I'm trying to create my first e-Commerce site in Business Catalyst and having a bit of an issue with setting up testing. I've downloaded multiple basic templates from 'BC' and they all seem to be giving me the same issue. Issue: When using

  • How do I get Apple to fix an incorrect pin issue in maps?

    There is a very popular place near downtown Atlanta called Atlantic Station.  It has Businesses, Movie Theatres, Restaurants, Bars, etc.  Apple drops the pin on my quiet street instead of the real location.  We get a steady stream of cars with people

  • How do I make Merge operation into the target table case insensitive?

    Hi All, We have a target table that has a varchar 2 column called nat_key and a map that copies over data from a source table into the target table. Based on wheteher the values in the nat_key column matches between the source and the target, an upda

  • Batching based on content

    Hi, I am using BT 2010. Considering this source message mapped to e.g. D96 Invoice. <invoice>    <clientid>1</clientid>    <invoiceDate>01.01.2014</invoiceDate>    <lines>    </lines> </invoice> I want to batch all edi messages with same clientid and

  • Change organizational model

    Hello, at the beginning of CRM in our company we created an organizational model. There we have a hierarchy with sales organisation --> sales buro --> sales group. Now we have a new office in another country. For the new office we have to create a ne