Disable the prompt "Do you want to save the chnages you have made?"

Hi,
I have a forms application with some text fields on it.
After the data is displyed on the text fields from the
database, one of the text fields gets highlighted
automatically, even though I have not selected it
manually.
When I close the forms window, I get the
message prompt "Do you want to save the changes
you just made?",though nothing was changed in the
text fields.
Can anyone help me get rid of these implicit forms messages?.
Thanks
sharath

Hi
After the data is displyed on the text fields from the database
Are you displaying data through querying the base table through execute_query (or similar built-ins) or are you populating the block programatically?
In case you are querying the record, then form should not display save confirmation dialog box.
If you are populating the data block programatically and if the block is a database block then try including this as the last statement of your populating logic: -
set_record_property(:system.cursor_record,<block_name>,status,query_status);
Regds
Sumit

Similar Messages

  • How to avoid the message "Do you want to save the changes you have made?"

    i have 3 forms
    master block
    detail1 block of master
    detail2 block of detail1
    when i go out of detail1 and detail2 blocks after doing some modifications it asks me "Do you want to save the changes you have made"?
    i want to avoid this message as well as my changes should be posted in the database. what is the solution for this big pblm?

    hi
    may be you are trying to modify the database item or reassigning the database item value which is not actually needed.
    try to comment the reassigning database values
    and give clear_form(do_commit);
    most probably u will not get the message again
    Regards
    Rajdeep .A

  • Forms6i question - Do you want to save the changes you have made !!

    Hi,
    I'm developing a custom master-detail form for 11i e-Business Suite. The requirement is to programmatically default values for some of the base table items when entering the master record.. Both the master and the detail blocks are base table blocks and defined the relation between these 2 as well..
    So i have coded my defaulting logic in the "when-new-record-instance " trigger only when the "(:system.record_status IN ('NEW','INSERT' ) AND :system.mode <> 'ENTER-QUERY')"..
    This is working but the problem is even when i do not change any values in the master block and i try to exit out of the form, getting a message "Do you want to save the changes you have made ".. I want to get that message only when some thing else is changed/entered in the master block or when any new detail records has been entered for that master block.
    Thanks in advance
    Shree

    Shree,
    It sounds like you have a Post-Query (PQ) trigger that is populating items in your Form. This is the typical reason why you would see this message when you close your form and no User changes have been made. The best solution would be to move your non-base table items from your data blocks to a control block so the PQ trigger won't mark the block or record as "Changed".
    Hope this helps.
    Craig...

  • Gettins "Do you want to save the changes you have made" promt without any

    Hi all,
    Problem : I have a master detail relation between two blocks which are on different window ( say block 1 on window 1 is master and block 2 on window 2 is detail) ,
    when i open my window 2 and close it without any changes, then when i try to do any change in window 1 i get this popup message "Do you want to save the changes you have made".
    I have various non database items as well which are used to hold intemediate values like sum of a column and all.
    for the close button on window 2 logic :
         go_block('BLOCK1');
         hide_window('WINNDOW1');
    I dont want to change the message level. as if there are really changes made then we need this message.
    In another thread i saw this might be due to copy "value from property" created by master detail relation on the joined columns.
    Please suggest any solutions.
    Thanks in advance.

    HI I found the solution to this Problem:
    when we queried the data block then few items values were assigned . this changes the block_status to CHANGED as well as the form_status variable to CHANGED.
    so in EXIT logic of that window i cleared each block explicitly . this discards all the changes made to those blocks ( This logic was implemented for CANCEL button on my screen as so we need not save the data) while the SAVE logic already has the COMMIT so will not set the popup for that.
    Not a beautiful logic...... but works ...... :)

  • Is it possible to hide/show the "Do you want to save changes you have made?" msg

    Hi,
    Is it possible to hide and show the Oracle message "Do you want to save changes you have made?"
    Thank You

    Not really.
    You have to use commit_form to commit the changes or a
    rollback_form to rollback just before exit_form, clear_form,
    or clear_block.
    Or, use clear_form(no_validate), clear_block(no_validate).
    It might be good to check wether there is some change in the
    data and show an alert in your own language asking the user in
    his/her own language wether he/she wants to commit the changes
    or not.

  • HOW to call at anytime the form6 "do you want to save the changes you have made"????

    HOW to call at anytime in form6 "do you want to change the save you have made"????
    It executes only if you use exit_forms
    and I don t want to save with a commit_forms
    without do appears this forms of form6
    Thanks a lots for any answering
    null

    you have to write a trigger on key-clrfrm and key-next-record.
    on that triggers you can call alert with 2 or 3 buttons.
    I hope it will help.
    Mustafa

  • Suppress the message do you want to save the changes you have made

    hi all
    i have written a rollback
    it clears my record
    but gives me the message
    do you want to save the changes you have made
    i have written
    :system.message_level :=25;
    rollback;
    :system.message_level=0;
    but still it is giveing me the message
    can you please tell me how to suppress this message
    please help me
    thanks
    mandar

    try in reverse

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

  • I am having trouble with an excel file wanting to save when no changes were made & opening as read only for the 2nd person - but allowing them to save the file.

    1) I am having trouble with an excel file wanting to save when no changes were made.  As soon as you open the file and exit.  It prompts for a save.
    All excel versions are 15.0.4701.1002.
    Using a table.
    the functions CELL, OFFSET, TODAY, INDIRECT, NOW, INFO and RAND are not being used.
    2) Same file.   2nd person is being told they are opening the file as read only - but when they are quitting excel prompts them to save the file. 
    Everything was working fine.  I started having problems with Excel, IT wiped my version out and re-installed office. 
    File is on networked server HP - Windows Server 2012 Essentials.  
    We are all on Windows 8.1 Pro.
    I really hope someone can help - the excel expert had no answer - and passed me along to here.

    I copied the whole file and started deleting worksheets one at a time and testing it by closing it and re-opening it then closing it again – to see if it wanted to save. 
    Once all the pivot tables were deleted – the problem went away. 
    I found that some of the pivot tables had automatic refresh upon open, so this caused the excel to think data had changed. 
    It is fixed now.  By clicking on one cell of the pivot table, analyze, options, data and uncheck the 3<sup>rd</sup> square down to not automatically refresh.  NOT A NETWORK ISSUE.

  • Customizing default message "Do you want to save changes you have made?"

    Hi all
    Can I customize the default message generated by oracle forms "Do you want to save changes you have made?"
    I want to change its title, message, alert style, button labels, and visual attribute. And functionality.
    Thanks
    Asad.

    Of course ON-MESSAGE will not work. Use the trigger on your Exit_Form button. Then check the form or block or record status (depending on your design) and do appropriate coding, something like this:
    IF :System.Form_Status = 'CHANGED' THEN
    retCode := Show_Alert('MY_EXIT_ALERT');
    if retCode = ALERT_BUTTON2 THEN
    Exit_Form(NO_VALIDATE);
    elsif retCode = ALERT_BUTTON1 then
    Commit_Form;
    else
    Whathever_It_Is;
    end if;
    end if;
    If you have master-detail block and u're recieving the message when detail is changed but u want to scroll master records - write me a mail to tell u which trigger to use. It is not that I don't want to share info - just can't recall right now.

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

  • Adding "do you want to save change you have made" message.

    We developed and multy screen web applicaton using J dev 11.1.1.1 and ADF BC- ADF RC
    We want when a user go to other screen to ask him a question as "do you want to save change you have made"
    Otherwise if a an error occurs "source" screeen
    and user go "target" screen and want to commit change
    ADF try to validate all entities.
    And error mesages about source screens displaying on the target screen.
    it is very confusing situation fro users.
    Thanks.

    Thasnks alot.
    We implement http://kuba.zilp.pl/?id=681 method.
    but isCommitEnabled() method return FALSE every time.
    Do we need to do anything in app module side.
    protected Boolean isCommitEnabled(){
    return getApplicationModule().getTransaction().isDirty() ? Boolean.TRUE : Boolean.FALSE;
    we will try pedja's recommendation also...

  • I just reinstalled and this is the question that show "You have made changes to your photo library using a newer version of iPhoto. Do you want to quit and use the latest version of iPhoto, or do you want to create a new photo library?"  what do i do next

    I just reinstalled and this is the pop up that shows "You have made changes to your photo library using a newer version of iPhoto. Do you want to quit and use the latest version of iPhoto, or do you want to create a new photo library?"  what do i do next? it just keeps popping up and loading but only gives a quit button?

    Update it.
    How old is your Mac? If it's very recent you need to update via the App Store
    If you purchased at the App Store you need to update via the App Store
    Otherwise you update via Softare Update
    Regards
    TD

  • You have made changes to your photo library using a newer version of iPhoto. Do you want to quit and use the latest version of iPhoto, or do you want to create a new photo library?

    Long story short, I made a backup using TimeMachine of my iMac.  I got my MBA which was being repaired and i restored from backup.  Everything works fine, except for iPhoto which is not saying:
    "You have made changes to your photo library using a newer version of iPhoto. Do you want to quit and use the latest version of iPhoto, or do you want to create a new photo library?"
    I have OS X 10.7.2 and iPhoto 9.1.4.  I've tried:
    Repairing permissions
    Deleting iPhoto, installing agaian, and updating
    Repaired iPhoto Library (stays stuck at 98% when rebuilding database)
    I've also tried iPhoto Library manager which cannot even see the library
    Tried restoring from backup from iPhoto and it messed up library (I still had my backup)
    Quite frustrating - any ideas on how to get iPhoto back to life?

    Dunno why Software update was not displaying the latest version of iPhoto (9.2.1 as of January 27, 2012)...updating to this has fixed the issue

  • My iPad is disabled. i connected it to the iTunes, but the iTunes couldn't access it; because the iPad has a pass code. i can't enter the pass code in the disabled iPad! do you have any suggestions?

    my iPad is disabled.
    i connected it to the iTunes, but the iTunes couldn't access it; because the iPad has a pass code.
    i can't enter the pass code in the disabled iPad!
    do you have any suggestions?

    You can unlock it on another computer though the content will be wiped and I think that you need to put it into DFU mode e.g. see post https://discussions.apple.com/message/15385719#15385719 in thread https://discussions.apple.com/message/15385641#15385641 .
    From http://support.apple.com/kb/HT1212 :
    If you restore on a different computer that was never synced with the device, you will be able to unlock the device for use and remove the passcode, but your data will not be present.

  • In Ver. XI it always asks if I want to save changes-even tho I made no changes. How can I stop that?

    In Ver. XI it always asks if I want to save changes-even tho I made no changes. How can I stop that?

    Thank you Pat..that was very kind of you to help. And yes-it does happen with every pdf. But you're right-if I just say yes one time..then I'm not prompted the next time I open that particular pdf-but it does make me confirm I want to write over the same name the file had already in order to save it.
    I made all my pdf's with the Chrome save as pdf command..never had a error message in prior Acrobat when closing the file.
    All the best Pat

Maybe you are looking for

  • Can't Install iTunes 10.6.3 Windows Vista Windows Installer Problem

    Basically, just before installation completes a popup of "There is a problem with this Windows InstWhat exactly would I be missing??? please help !aller package. A program required for this install to complete could not be run.".  I've read many thre

  • Joining to remote table

    - I have two databases A and B - A has a db link to B I want to execute a select query in A which joins to a table in B using db link. select * from a_table where id in ( select id from b_table@B ) Now the problem is, even though the local 'a_table'

  • About using rsbdcsub to run BDC session .

    Hi all, I use rsbdcsub to run a bdc session , But the job created by the program is always in "ready" status and never run(complete) . How can I solve the problem? Thanks Pole Message was edited by: gw gw

  • What anti-virus software should I buy?

    I own a macbook pro and I have had it for 2 1/2 years. Recently, safari has not been running smoothly as I have often have to close pages since they will not load. I worry that I may have a virus. However, even if I do not have one, I figure that it

  • Adobe Illustrator CC 2014 and Indesign CC 2014 Crashing

    I have had some significant issues with Adobe Illustrator and Indesign CC over the past week.  Previous to this I had no issues.  Now, each time I run the programs and place an image, they will crash the moment I try to move the placed image.  I am r