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.

Similar Messages

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

  • 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

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

  • 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

  • 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

  • How to enforce the message "Do you want to save changes?"

    Hello,
    How to enforce the message "Do you want to save changes?" when the user attempts to close a form after checking a non-database item (check-box).
    All the other database items in the block are not updateable and only viewable.
    After checking the non database item check-box, if the user tries to commit, then the system is saving the changes and call the appropriate procedure on save.
    But if the user tries to close the window without committing, the form is not showing the message "Do you want to save changes?" since the check-box is a non database item.
    How to enforce the message "Do you want to save changes?" in this scenario when the user tries to close the window?
    Thanks in advance.
    Cheers
    Sri

    This is a fairly common question in the forum. You will need to override the default exit form process and check to see if the checkbox is checked. You can do this in the Key-Exit trigger. For Example:
    DECLARE
      al_id     ALERT;
      al_button  NUMBER;
    BEGIN
      IF ( CHECKBOX_CHECKED('YOUR_BLOCK.CHECKBOX_ITEM') ) THEN
         /* Display an Alert here that asks, "Do you want to save changes?" */
         ...code here to set the properties of your alert...
         al_button := Show_Alert(al_id);
         IF ( al_button = ALERT_BUTTON1 ) THEN
            --YES
            /* Perform COMMIT Processing here...*/
         ELSIF ( al_button = ALERT_BUTTON2 ) THEN
            --No
            Exit_Form(NO_VALIDATE);
         ELSE
            --Cancel
            RAISE Form_Trigger_Failure;
         END IF;
      ELSE
         Exit_Form;
      END IF;
    END;If you need more help with the Alert, please check out the SHOW_ALERT topic in the Forms Help.
    BTW, what happens if all the user does is check the checkbox? No other changes have occured. What changes are you trying to process?
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

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

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

  • 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

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

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

  • 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

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

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

Maybe you are looking for

  • How many fonts are free prvoide from Adobe?

    Dear Sir/Miss:   I want to know how many fonts users can free download the fonts? Cause someone tell me, if you install Adobe reader, you can use their fonts for free !? and your system also will install these fonts?

  • Handling faulty messages in PI 7.0

    Hi Gurus, my interface is 3rd party app->PI->SAP. i used proxy on sender side and on receiver side I used HTTP adapter. Each time my PI will ping that application using the URL and get the batch xml file but if there is no data in the 3rd party appli

  • Lenovo G530 - problem with certain keys on keyboard

    hi everyone. I have a Lenovo G530 and I am having an odd problem with the keyboard.  If i press the spacebar when I type anything, i get the system date and time.  If I press the H button, I get a hn and i get nh when I press the N key.  Also get gb

  • MacBook Pro 17 2009 (5.2) is hot in Windows 7 and fan is still running faster and faster

         Hi, i have MacBook Pro 17 2009 (5.2). Im using Boot Camp with Win 7 Pro 64 bit edition and MacBook is very hot when i use Windows. I dont play games, MacBook is hot even if i just start Windows. In OSX is everything ok. Can you help me? Thanks K

  • Mandatory Proforma invoice

    Hi, my client wants it should be mandatory to create proforma invoice before commercial invoice, end user should not be able to create commercial invoice without creating the proforma invoice. Please advice how ot configure this? Thanks in advance. R