Do you want to save the changes

Hi all

6i dev,

I always get him 'do you want to save the changes you have done"message when I open my form and try to run the query.

without to make anychanges.

??

Thank you

I found it, I'm assigning a value to an element in a trigger a time new form instance

Thank you

Tags: Oracle Development

Similar Questions

  • Get the message "do you want to save the changes you made?

    Hi all

    I activated the zoom for the standard form of profiles (applications developer) open a new custom form that is used to enter additional information for profiles.
    Two fields profile option id and the profile on the new form option name should get the value in the calling form. Based on these values the new form should show the custom intermediate table data if the record exists.
    If there is no data in this profile of the user must be able to enter information and create new record and commit to the DB table.
    If there is data in the file should be displayed and if the user updates of any field, you have to refresh the record in the DB table.
    I created two new parameters in the new profile_option_id and profile_option_name form which gets its value from the calling form through the custom.pll changes.
    Now, when the new form opens, I see the 2 default fields. But it pops up the message "do you want to save the changes you made?
    If I say no, then the data are displayed for the existing record. If I click Cancel, and then nothing happens.
    Please help me to understand the reason for the pop-up message when the form is opened.
    I changed only a TIME-NEW-FORM-INSTANCE trigger to the new form.

    Start
    If (: parameter.profile_option_id is not null) and (: parameter.profile_option_name is not null)
    then
    set_block_property ('NAPP_USR_PRF_OPTIONS_TBL', DEFAULT_WHERE, 'profile_option_id =' |: parameter.profile_option_id |) "(ET profile_option_name = ''' ||: parameter.profile_option_name || ''');"
    : NAPP_USR_PRF_OPTIONS_TBL.profile_option_id: =: parameter.profile_option_id;
    : NAPP_USR_PRF_OPTIONS_TBL.profile_option_name: =: parameter.profile_option_name;
    end if;
    GO_BLOCK ('NAPP_USR_PRF_OPTIONS_TBL');
    execute_query();
    end;

    I use form 10g and DB version is 11.2.0.2.0

    Thank you
    Chrystel

    Hi Olivier,.

    : NAPP_USR_PRF_OPTIONS_TBL.profile_option_id: =: parameter.profile_option_id;
    : NAPP_USR_PRF_OPTIONS_TBL.profile_option_name: =: parameter.profile_option_name;

    GO_BLOCK ('NAPP_USR_PRF_OPTIONS_TBL');
    execute_query();

    After having assigned the value in any field and then using exectue_query triggers the message.
    If option 1 is...
    If you need to assign then first use execute_query; then assign a value

    Option 2 is...
    Use commit_form and then use execute_query;

    I hope this helps...

    Hamid

  • Do you want to save the changes you made

    Hi guys,.

    I need your help

    I ve a form that retrieve data on employees.

    There are 8 blocks in the form,

    I created a when trigger click mouse to display a LOV


    declare
    a Boolean value;
    Start
    a: = show_lov ('TEST');
    pc_execute; -calling a procedure
    END;

    but it gives you want to save the changes you have made?
    and I tried to delete it by setting the level of message system = 25
    but no advantage,

    And if I write:
    declare
    a Boolean value;
    Start
    a: = show_lov ('TEST');
    GO_BLOCK ('ORG_EMP_INCREMENT_HISTORY');
    pc_execute; -calling a procedure
    END;

    the message will disappear, but the query will run not all blocks


    ANY suggestions
    Best regards

    El-Hamdulellah

    Pls to mark your Question and the correct answer...

    and erase what was you meant to do?

    To help others with the same problem...

    Kind regards

    Abdetu...

  • After query do you want 2 save the changes you made

    Hello

    If I run a query for a form master / detail and press an Exit_button

    A message will be displayed in the form: (do you want 2 save the changes you have made) or NOT

    I don't want to use:
    EXIT_FORM ("NOT OK");
    I have 2 codes in a post request
    BEGIN
    
    SELECT ITEM_ID ,ITEM_NAME
    INTO   :ITEM_ID ,:ITEM_NAME
    FROM    WH_ITEMS
    WHERE ITEM_SERIAL =:WH_T_ITEMS.ITEM_SERIAL ;
    
    EXCEPTION
    
      WHEN No_Data_Found THEN       NULL; 
    
     WHEN OTHERS THEN
              
              Message ('OTHERS' || SQLCODE || ' And ' || SQLERRM);
              Message ('OTHERS' || SQLCODE || ' And ' || SQLERRM);
              
         
    END;
    
    
    ---====================================
    
    
    
         
    BEGIN
    
    SELECT WH_STORES.STORE_NAME
    INTO   :WH_TRANSACTIONS.STORE_NAME
    FROM   WH_STORES
    WHERE  WH_STORES.STORE_ID =:WH_TRANSACTIONS.STORE_ID ;
    
    EXCEPTION
    
      WHEN No_Data_Found THEN      NULL;
      
            
     WHEN OTHERS THEN
              
              Message ('OTHERS' || SQLCODE || ' And ' || SQLERRM);
              Message ('OTHERS' || SQLCODE || ' And ' || SQLERRM);          
              
    END;
    
    --===============================================================
    But I want 2 know why?


    Kind regards

    Abdetu...

    Database is perhaps one of these columns

    IN: WH_ITEMS. UOM_ID,: WH_ITEMS. STP_UOM_NAME

    If Yes, delete the select statement.

    -Clément

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

    Question: To remove the warning "do you want to save the changes to investigation.pdf before closing.

    I created a file of pdf XFA (using the LC Designer 8.2) to view this issue

    I can't attach PDF file. Without attaching the pdf file, it would be difficult to explain.

    Click event js:

    function activateUser() {}
    var PDFVersion = xfa.host.variation + xfa.host.version;
    xfa.host.messageBox ("registered button click event");
    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 recorded");
    XFA. Form.Form1.sendForm.welcomeMsg.Presence = "visible";
    XFA. Form.Form1.sendForm.successMsg.Presence = "invisible";
    };

    docClose js event:

    xfa.host.messageBox ("docClose recorded event");
    Event.Target.Dirty = false;

    Steps to get the caveat:
    (1) open the attached pdf using Acrobat Professional.
    (Bouton 2) click on registration to confirm.
    (3) now close the document and the Acrobat gives a warning "do you want to save the changes to investigation.pdf before closing.

    The XFA pdf summary:
    It has two text fields. DocReady event field has done this & field B is rendered invisible.
    The button click event of the field made invisisble & field B are made visible.
    Closing the pdf should not raise this warning message.

    My Efforts:
    (1) found a property in js adobe docs.
    Event.Target.Dirty = false;
    It does not solve the problem.
    (2) I tried to put this logic in almost all the events listed in the designer, but I'm not able to solve the problem.

    Please help me solve this problem.

    Hello

    Change the visual appearance is dirty the screen, before all data are actually entered in the form. I've seen this before.

    I think that the docClose event is too late to have the sale/requiresFullSave script. preSave does not either, as this is triggered after the warning dialog is displayed.

    For a test, I would put the sale/requiresFullSave script in the layout event: loan. Not the most efficient, but he should do after changing the visibility of the messages.

    This could be interesting: http://cookbooks.adobe.com/post_How_often_events_fire_and_their_sequence-16547.html

    Niall

  • Do you want to save the changes that you did in fact 10g.

    Hai All,


    I am using oracle 10 g Forms. When I press the Search, he asks that you want to save the changes you have made.

    in fact this form has been converted to forms 6i. In forms 6i, his job very well, without asking, but in 10g, he asks.


    can someone tell how to remove this message?


    Thanks in advance.

    Kind regards

    Manu

    We therefore know what produces this message. Remove the initial allocation of the WHEN-CREATE-RECORD-Trigger one after another and see the message disappears. Then you have the field that is causing the problem. possible causes:
    a POST-CHANGE trigger on one of these elements, that updates another element in the block

    Possible solution:
    Use

    SET_ITEM_PROPERTY('BLOCK.THE_TROUBLEMAKING_ITEM', ITEM_IS_VALID, PROPERTY_TRUE);
    

    After the transfer

  • Useless the question «Do you want to save the changes...» »

    Hello again,

    I have a block of several recording on the single update is allowed and two buttons: accept and reject. There are three possible ways of changing records:
    1. change the values in some fields and validation - which works very well;
    2. changes to the values in some fields and tap on accept button;
    3. change the values in some fields and press the reject.

    Buttons have implemented the delete, update, insert into some tables using a stored pl/sql package. At the end of the treatment, for the two buttons, "accepted" or "rejected" folder disappears from the block - using execute_query. Problem is that if some values were changed before pressing the button, warning window appears: "Do you want to save the changes you made?" which is in this case useless and boring. How can I get rid of this message?

    Thank you in advance.

    execute_query (no_validate)

  • You want to save the changes... no changes to save

    Hi guys, I am currently have a relationship master detail, but I have a problem. When a query is entered in the block of my master, it automatically queries the retail block, that's fine, however, if I then enter a new query, so switch to query mode in the main block I get a call asking me if I want to save the changes, but I did not bring any changes.

    However, I have an idea of the cause of the problem. I have 2 data elements not on my block of detail that are just there to provide additional information to the user. How they work, that is, when the retail block id is made again, I have in a post request trigger that I opened a slider and bring back data from another table and display it to the user of these data elements NOT. However, I do not think that there would be a prompt to save changes under this descriptive would in a database not element. I'm just assuming it's my problem.

    Someone at - it ideas how I might solve this problem?

    Thank you.

    changes on components of database not also set the status to change.
    After that manipulations in your code after query, add

    SET_RECORD_PROPERTY(:SYSTEM.TRIGGER_RECORD, :SYSTEM.TRIGGER_BLOCK, STATUS, QUERY_STATUS);
    

    to reset the registration State.

  • Graduation: Do you want to save the changes? When there is no change?

    Forms [32 bit] Version 10.1.2.3.0 (Production)
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64 bit Production

    I have a form that always pushes me if I want to save the changes after interrogation of a record and then go out or try a new query. I don't know what changes he asks if I want to save that nothing has been changed on the form. Is there a way to follow what is the cause or whence it?

    Most likely in the trigger after query you assign a value to one or more fields (database item) or no database element.

    If it's an article from the database no it's to be assigned to a value the following code in the post once the transfer could help:

    SET_RECORD_PROPERTY (GET_BLOCK_PROPERTY (: SYSTEM.)) TRIGGER_BLOCK, CURRENT_RECORD): SYSTEM. TRIGGER_BLOCK, STATUS, QUERY_STATUS);

    If you assign a data point value check why you do so.

  • Acrobat request "do you want to save the changes?

    Example a PDF in "PDF Reference version 1.7" in Appendix G, result in Acrobat Reader, showing a popup "do you want to save changes to... before closing? Why this even when popup any changes made to the document? How to get rid of this popup?

    Hi carriek34182695 ,

    You will need to disable the safe_mode for this.

    Please navigate in Edition > Preferences > under categories, select "Security (Enhanced)" and uncheck the option 'enable protected startup mode '. Click Ok and restart Acrobat Reader.

    Let us know if that helps.

    Concerning

    Sarojini

  • When you close the form "Do you want to save the changes" window

    Hello
    I have a master form / detail where in my trigger after QUERY I change the item field data of LOV to a value non-base. When I simply select Master record(NOT in query mode) my detail records pop up in the retail block. This is done in EXECUTE_QUERY in trigger a TIME NEW BLOCK INSTANCE in detail block. But when I close the form he's asked me to save changes even though I haven't changed anything. I have this statement after QUERY Trigger
    SET_RECORD_PROPERTY(:SYSTEM.) TRIGGER_RECORD,: SYSTEM. TRIGGER_BLOCK, STATUS, QUERY_STATUS); This problem doesn't happen in QUERY MODE.

    I tried the two Set_Item_Property('BLOCK.) CODE', ITEM_IS_VALID, PROPERTY_TRUE); This property in the POST_QUERY and the Set_Item_Property ('item_name', VALIDATE_FROM_LIST, PROPERTY_TRUE); in QUERY-MASTER / DETAILS trigger but it did not work.

    Help, please

    Thank you

    If you take the second codepart, you may need to add a CREATE_RECORD in the last ELSE like:

        ELSE
          -- No master-record, found, use has to enter data, FK_ID can be pre-populated from the LoV-Selection
          CLOSE crCheck;
          -- Create an empty reocrd here
          GO_BLCOK('MASTER');
          CREATE_RECORD;
          :MASTER.FK_ID:=:BL_CONTROL.IT_FK_ID;
        END IF;
    

    I hope this helps.

  • you want to save the password disable and erase the password he saved.

    You want to disable the functionality each time asking me to save a password.
    I also want to change a setting so that he doesn't remember the password he saved when I hit the wrong button.
    How do I do that? Firefox 4.0
    Thank you.

    1. Click on the orange button Firefox, then select Options to open the options window
    2. Go to the Security Panel
    3. No longer asking to save passwords of Firefox, deselect "Remember passwords for sites" setting
    4. To remove the passwords that have been registered, click the "saved passwords" button to open the Manager of passwords
    5. In the passwords manager click the "remove all" to delete all saved passwords
  • What can I do? I just change a pdf file, after you finish and save the changes, the stroke of the Acrobat Reader and lost all my changes, how do I get back them, he had a lot of work.

    What should I do toget back the changes that I made a PDF doc because Acrobat just stops?

    Hey Woisix,

    The auto save feature prevents changes to PDF since be lost after an unexpected interruption.

    Open the file to which you were changes. When you are prompted, click Yes to open the automatically saved files.

    If auto-save is turned off, then restart of the Preferences dialog box.

    Open Edit > Preferences > Documents and check "automatically save document changes to temporary file every XX minutes" and specify minutes for how often you want to save changes to the PDF files.

    If this feature has been disabled, so it is not possible to recover lost in the PDF file changes.

    Kind regards

    Ana Maria

  • To avoid making you want to save the message

    Hello
    When the form is opened, I attribute the SYSDATE value to one of the database element.
    SO, without entering any value, when I get out of means, she asked "do you want to save message.

    How can I avoid this error?

    If I put the following means, I get ' Record has been updated by another user error?

    SET_RECORD_PROPERTY(:SYSTEM.) CURSOR_RECORD, "EMP", STATUS, QUERY_STATUS);

    But if you just write at once - new - form - instance trigger:

    IF
      GET_BLOCK_PROPERTY('DEPT',QUERY_HITS) 0
    THEN
      EXECUTE_QUERY;
    END IF;
    

    and in a time-create-save-trigger:

    :emp.logon_date := SYSDATE;
    

    would be the same effect...

  • Do you want to save the message changes

    dev 6i, db 10g and win 8.

    I see the above message when I try to enter query given in my block and I see when I try to close

    the form as well, all this without change or add anything to the shape?

    The changes of the only thing is, in a post I wrote

    Select the column in: point from table where..., but the items is not the elements of database?

    I know that's the reason why, because I removed the trigger after application and it works very well, but of course, I need the trigger after request.

    Why do I see the message above if the items is not the elements of database?

    Thank you

    Make sure that your non-base data objects are in a control block instead of a table of basic block.

    Craig...

Maybe you are looking for