Avoid "Do you want to save changes to filename before closing?"

Hi,
When I open a reader enabled form and close it without doing anything it prompts "Do you want save changes to <filename> before closing?". How to get rid of this? I tried the below code in the layout ready event of a button but still no effect.
event.target.dirty=false;
event.target.requiresFullSave=false;
Any solution is greatly appreciated. Many thanks in advance.

Hi radzmar,
The message pops out when I click on the close button in the adobe reader. How to avoid that?
Thanks.

Similar Messages

  • Unexpected & Unnecessary Popup "do you want to save changes to 'x' before closing ?"

    Hi Im running a code that is opening a pdf doc and reading some stuff from it (not editing it).
    avDoc = CreateObject("AcroExch.AVDoc")
    avDoc.Open(FileBox.FileName, "x")
    accroApp = CreateObject("AcroExch.App")
    accroApp.Show()
    accroApp.Hide()
    accroApp.Exit()
    avDoc.Close(0) 'accroApp = Nothing
    But when I close it gives this question "ONLY SOMETIMES"
    "do you want to save changes to 'x' before closing ?
    Previously, i just forced it to save at all times before closing.
    I guess there is a way to avoid this, by setting some dirtyflag=false/true?
    Pls help
    JS

    Check out this post - http://forums.adobe.com/message/3871646#3871646
    My issue was similar and I finally got it to work.

  • Disable "Do you want to save changes to *.pdf before closing?" when closing a tif

    We upgraded to Office 2007 and decided to stop using the Office 2003 document imaging tool to view TIF TIFF files.  This tool wasn't included with Office 2007 so we started using Acrobat 9.1.3 Standard as our default TIF viewer. 
    Here is the problem. When you close the TIF document you are prompted "Do you want to save changes to 'xxx.pdf' before closing?" Is there a way to disable this prompt?  We don't want to convert the files since they are in a read only database.

    Nope. Using WORD or Acrobat is forcing a conversion and it not an ideal way to view such files. In addition, you may want to change resolution or such of the graphic before you import it to something such as WORD. Many folks embed graphics that are 3500 dpi and millions of colors and totally bloat the file. They even crop the graphic and reduce the size, wondering why their DOC file is sooooo big. In that sense, there is an advantage to having some of the other tools available. You may have special needs and I do not want to second guess your company needs, so that is my two-cents worth. Sorry that I do not have other ideas, but using an existing graphics package would be the best for your need.

  • "Do you want to save changes" always poping when closing home made PDF

    Hi,
    I create a pdf by myself in one of my application (only external lib used is zlib for deflate streams)
    I tried to follow the PDF references.
    It's a simple PDF file with a few pages, some text & lines to underline (deflated or not same problem), and 3 fonts, a xref.
    The PDF is showing perfectly in the Reader X 10.1.1 but when i try to close the window it always asks me :
    "Do you want to save changes before closing".
    All save options are disabled in the preferences of the reader.
    Is there anything to do in the reader to avoid this ?
    Is there anything to do in the PDF itself to avoid this ?
    Or maybe the PDF is not completly correct ? Which is possible even if i tried to follow the specs in the official reference document, there are alot of chances that i may have done something wrong.

    I first tried the version without the deflated stream (so everything uncompressed) against the online repair tool to check/analyse it @ https://www.pdf-tools.com/osa/repair.aspx
    And it says no error found, but the reader still want to save it when closing so i still had no clue at this point.
    Fortunately, i finally found what was wrong with my generated PDF.
    In my xref table, each object reference was not end by a full EOL, i only did put a newline char.
    Now i have "carriage return" "newline" which is the full EOL and the reader is happy and close the file silently.
    As suspected i did not follow correctly the specs on xref table
    Now i'll go and figure what i did wrong with the deflate filter
    Thanks for your help.

  • Avoiding "Do you want to save changes you've made?" question

    Hello friends at www.oracle.com ,
    I have a program with a master block and detail block. While navigating at master block, not all detail block items are filled (some of them need to be verified at the moment of navigation, because data related to that detail block may vary during production).
    However, when I need to navigate to the next master block register, Oracle asks me if I want to save changes. This is annoying, because it disturbs navigation.
    How can I avoid such message to be displayed everytime I navigate to the next or previous item?
    Thanks for all answers, and best regards,
    Franklin Gongalves Jr.

    Try to put POST in the ON-CLEAR-DETAILS trigger.
    regards,
    Harm

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

  • 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

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

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

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

  • How do I stop pop up that asks me, Do you want to save changes to doc... before closing? I have made no changes only printed the file. Using Adobe Reader DC, Windows 7 64 bit.

    How do I stop pop up that asks me, Do you want to save changes to doc... before closing? I have made no changes only printed the file. Using Adobe Reader DC, Windows 7 64 bit.
    This is very annoying and we need this stopped as we have made no changes to any of the adobe files. Please advise how to do this.
    Customer Service DCC

    I first tried the version without the deflated stream (so everything uncompressed) against the online repair tool to check/analyse it @ https://www.pdf-tools.com/osa/repair.aspx
    And it says no error found, but the reader still want to save it when closing so i still had no clue at this point.
    Fortunately, i finally found what was wrong with my generated PDF.
    In my xref table, each object reference was not end by a full EOL, i only did put a newline char.
    Now i have "carriage return" "newline" which is the full EOL and the reader is happy and close the file silently.
    As suspected i did not follow correctly the specs on xref table
    Now i'll go and figure what i did wrong with the deflate filter
    Thanks for your help.

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

  • How to disable 'do you want to save changes to...'

    Is it possible to disable the 'do you want to save changes to...' pop-up in Reader 10.1.1 LS? I'm using CrystalViewer to read reports - but I don't edit them so don't need to save any changes.

    Make sure that the PDF files are not corrupted. Otherwise Adobe Reader repairs the files and will save the changes.

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

  • Removing a message (Do you want to save changes)

    Hi all,
    I have a screen (login), to let the user enter the user name and password then click the button (enter), but when the user clicks enter the message (Do you want to save changes) appear,
    How to remove it??
    Thank you very much
    Tasneem

    hi
    is it db items or non db items?
    clear_form();
    or
    search online for.
    SYSTEM.MESSAGE_LEVEL  built-inThere are 25 Levels of Message in an Oracle Forms.
    How much cretical error or message is
    0 -- all errors or message
    1
    2
    25 -- don't shows any
    If we don't want to show any error or message to the user then we assign 25 to message level as
    :SYSTEM.MESSAGE_LEVEL := 25;Now, system will not show any message error to the user.
    If i wanna show all the errors then assign it 0.
    :SYSTEM.MESSAGE_LEVEL := 0; sarah

Maybe you are looking for

  • Video Output No Longer Works

    I'm running FCP 4.5 on OS version 10.4.2. After installing the latest itunes with video (not sure of that's related, but it's the last system change I've had) I have not been able to display firewire video out. I'll start FCP, my deck (Sony GV-D1000)

  • [SOLVED] Can't save UTF-8 encoded source file in IDE

    I had a problem where I could not save a c++ source file from anjuta using the gtksourceview plugin, but could using the scintilla plugin.  I would get an error message with "invalid byte sequence in conversion input" in the text.  Eclipse CDT also w

  • Saving photoshop file as pdf but transparent background turns white

    Am trying to save file created as photoshop file (which has transparent background) as pdf to send to printer but when I reopen the saved pdf file it appears to be on a white background? Can anybody help please?

  • Exit F-53 issue

    Hi All, I am using F-53 user-exit EXIT_SAPLF048_001- ZXF48U01 to control the vendor payments. I need to through custom messages if payment is exceed the PO total amt. User may select multiple Account document and pay the amt. But iam unable to get wh

  • ILife 11 - Yes Yes No No

    Hi Now I got hands on. YES - TimeLine is back ! Rudimentary but much better ! YES - RubberBand - audio level ajustment is back - GREAT ! ! NO - No Back to Camera via FireWire (or to Monitor for Quality Controll) - BAD NO - Still not the tool for us m