"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.
Similar Messages
-
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!! -
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
JSCheck out this post - http://forums.adobe.com/message/3871646#3871646
My issue was similar and I finally got it to work. -
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. -
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. -
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 DCCI 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 appreciatedThe 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
Tasneemhi
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 -
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?
AndrewI 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. -
Catching: Do you want to save changes? yes,no,cancel
I would like to capture the update event after "yes" is clicked on the pop up message: "Do you want to save changes? yes no cancel" The form id on this object is zero, and I'm having trouble differentiating between this and similar inventory warnings that pop up as the form id is also zero.
Hi Jw,
I would assume that this is when you are using some of the standard business one forms because if it was a request via code you would have full control over it.
What I like to do is use a before_action and action_sucsess. If the user clicks on cancel, the action_sucsess = False, thus you know your code will only execute when you click ok, unless there were any other errors within SBO, (EG Item not on hand in case of a stock transfer or something) - In which event, you probably dont want your code to excute anyway
I attach some code below
Shared Sub ClickEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef bubbleevent As Boolean)
Dim errfree As Boolean
errfree = True
Dim Errmsg As String
Try
If pVal.ItemUID = "1" Then
If pVal.Before_Action = True Then
BeforeAction(FormUID, pVal, bubbleevent)
End If
If pVal.ActionSuccess = True Then
' Ok so its an After Action
If pVal.ActionSuccess = True Then
AfterAction(FormUID, pVal, bubbleevent)
End If
End If
End If
Catch ex As Exception
errfree = False
Errmsg = ex.Message
Finally
Thanks -
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 VandanYou 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 -
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 YouNot 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. -
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 advanceWhen 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
Maybe you are looking for
-
SO number as reference in accounting document created when posting GI
Hello, In the header of accounting document, which is being created after posting goods issue, in the "Reference doc." field delivery number is displayed. Is it possible to have in this field sales order number?? If so, where can I change this set up
-
How can I change reports in report painter.
Dear Consultants, I need to change report according to client requirment. 1, Lay out change in std report. 2, How can I customize report to get cost element group wise with sub totals one by one. Please tell me how to do it step by step, I'll will aw
-
hello can any body help me to manage the cursor.i have to paste theimages from one place to another.and when i click on image iit should set as cursor of my mouse and paste on the desired position.for reference i m giving the link http://www.pa
-
Hi All, I am gettingn the below error message while importing the organization from MS CRM 4.0 to MS CRM 2011. I am importing the organization using service account and the same account was added as db owner in the DB which I was trying to impot. It
-
After having installed 10.5.4 (combined) on my wife's G% iMac (10.5.2 was already installed), the iMac will not start up and I get the ever spinning wheel instead. I've tried to repair the disk, start up in target mode using my MacBook Pro and have t