Display Do u want save changes or not? message while closing the window

Hi All,
I have one requirement.I developed one form that contains 4 windows.
I entered in the 3rd window and i have made some changes but not saved.when i close 3rd window it is not giving any message like 'Do u want save changes?'after closing the 3rd window cursor will go to 2nd window.if i open 3rd window again it is propmting the message(Do u want save changes or not?).How can i get this message while closing the 3rd window?
i have written the following code in app_custom body
IF (wnd = 'WINDOW1') THEN
app_window.close_first_window;
ELSIF (wnd = 'WINDOW3') THEN      
lv_wnd_status := get_window_property('WINDOW2',VISIBLE);
IF lv_wnd_status = 'TRUE' THEN
     go_item('BLOCK2.ORDER_NUMBER');
     set_window_property ('WINDOW3', visible, property_false);
ELSE
app_window.close_first_window;
END IF;
     ELSIF (wnd = 'WINDOW2')
THEN
lv_wnd_status := get_window_property('WINDOW3',VISIBLE);
IF lv_wnd_status = 'TRUE' THEN
set_window_property ('WINDOW2', visible, property_false);
ELSE
app_window.close_first_window;
END IF;
     ELSE
app_window.close_first_window;
END IF;
Can anyone give me some idea.
Thanks in Advance
Edited by: DhanaSurya on Apr 27, 2010 9:41 PM

Iis this the only code which you used to hide/display window?
Might be some navigation is happening in your form. Like if there is relationship between window2 and window3's block and when you access the window2 then you try to move to the next reocrd and then you are try to go to the WINDOW3's block.
Or there is any CLEAR_BLOCK built-in bieng use in you form.
-Ammad

Similar Messages

  • '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 do I stop Photoshop CS6 from asking to save changes to a file when closing the file, after "savi

    I save a lot of files to "save for web". After saving PS asks if I want to save changes to the original file. I never want to save the changes to the original. Since the default is to change the file I am afraid I will accidentally OK the change without wanting to. I would like it to stop asking and just not save it. Is there a way?

    Stephen Douge wrote:
    I never want to mess with originals. I am asking because I want to make sure I stated the question properly in the first place. Thanks.
    Then don't work on the original open the file using Photoshop menu file>open once its in Photoshop as a document dupe the document and close the original document. Photoshop will just close the original and not ask it you want to save the original document for no changes were made to it.  You could easily record an action to automate this process. The first step in the action would be an inserted menu item menu File>Open.  The second step Duplicate Document, third step select previous document the fourth and final step close. The action would look like this recorded Work in the dupe and save it under the name you want to where you want it saved. The First step is an interactive you will be able to open any file Photoshop has support for that you have access to.

  • Changes are not reflecting while executing the SAP script from report

    HI,
    In SAP-script we are nmaking changes in form in client 130
    it is showing the changes in 140 client but while excuting the report the same are not reflecting in the output.
    Thanks in Advance
    Naveen M

    Hello.
    Scripts are mandant depentant. So you must copy from 130 to 140 for changes take efect.
    Do it in transaction SE71 in mandant 140, first screen, in the menu options.
    And never forget to activate it in all mandants.
    Best regards.
    Valter Oliveira.

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

  • Address book won't save changes to note field

    Like the header says. Address book won't save changes to note field. There's another thread with the same header:  https://discussions.apple.com/thread/2591053?threadID=2591053  But it's archived so I had to post this new one.
    If I made a change in any non-note field however, it would stay.
    Note: the notes field can be edited with actually having to go into official "edit" mode. Does this make it more prone to corruption? Why would Apple make the notes field NOT need that extra step of protection. Do they think my notes aren't as important?  How would they know?
    I fixed this one card with a bandaid solution by exporting it and reimporting it.  But I guess I need to do that with all 2,000 of my contacts now. It was mentioned on theother thread that somebody made an address book backup and then deleted every contact in the address book and imported them fresh from the backup and that worked.
    The underlyilng issue is still not solved though. How could this happpen in the first place, and how do I know what other contacts haven't held lthe changes I thought I made?

    Hi,
    Using the Note field
    You can add notes to any contact in Address Book. This makes it easy to keep track of details about a person in your address book.
    Select the person in the Name column in Address Book, then click the Note field in the card.
    The Note field can be edited at any time, even if the card is not in edit mode.
    You could make a dedicated field that requires the edit button...
    Using custom labels
    You can change the label that appears next to a piece of information on a contact's card. For example, you might want to change "work" to "support" next to a phone number.
    Select the contact that you want to change.
    Click the Edit button at the bottom of the window.
    Click the label next to a field, then choose Custom from the pop-up menu.
    Enter a new label for the field.
    The new custom label appears on this contact's card only.
    If you want to change a specific label on all cards in your Address Book, edit the card template. Choose Address Book > Preferences and click Template. The Template pane also allows you to add other types of fields on contact cards, such as a nickname, job title, birthday, anniversary, and URL. Use the Add Field menu.

  • Hello alltogether! I use PSE 7 on my PC with windows XP and now want to change to a new Mac with the

    Hello alltogether! I use PSE 7 on my PC with windows XP and now want to change to a new Mac with the newest version PSE . Is it possible to move all my albums and tags to that new version? Thank you very much for your kind answers! Candyapple111

    1. Install PSE 11 in windows, upgrade your catalog, then make a full backup  to a removable drive, like a usb drive, using the organizer's back up command. If you buy the boxed version you get discs for both platforms.
    2. Install PSE on the mac.
    3. Restore the backup to the mac. Point the restore to the .tly file in the folder, not the enclosing folder.

  • How do you save changes made in iPhoto, and export the changed file.  It keeps reverting back to the original.

    How do you save changes made in iPhote, and export the changed picture file? When I select export, current format, it reverts to the original, wiping out all my work.

    Try trash the com.apple.iPhoto.plist file from the HD/Users/ Your Name / library / preferences folder.
    (On 10.7 or later: Hold the option (or alt) key while clicking on the Go menu in Finder to access the User Library)
    (Remember you'll need to reset your User options afterwards. These include minor settings like the window colour and so on. Note: If you've moved your library you'll need to point iPhoto at it again.)
    What's the plist file?
    For new users: Every application on your Mac has an accompanying plist file. It records certain User choices. For instance, in your favourite Word Processor it remembers your choice of Default Font, on your Web Browser is remembers things like your choice of Home Page. It even recalls what windows you had open last if your app allows you to pick up from where you left off last. The iPhoto plist file remembers things like the location of the Library, your choice of background colour, whether you are running a Referenced or Managed Library, what preferences you have for autosplitting events and so on. Trashing the plist file forces the app to generate a new one on the next launch, and this restores things to the Factory Defaults. Hence, if you've changed any of these things you'll need to reset them. If you haven't, then no bother. Trashing the plist file is Mac troubleshooting 101.

  • I want to change my full name deatil in the email account. It is grey ed out.Help Please

    I want to change my full name details in the email account. It is greyed out.Can you help Please.

    Change your name at...
    My Apple ID

  • I want to change my plan from Photoshop to the student version of Creative Cloud - I can't get anyone through live chat and no way of contacting customer support. Help please?

    I want to change my plan from Photoshop to the student version of Creative Cloud - I can't get anyone through live chat and no way of contacting customer support. Does anyone know how to contact adobe?

    Hi Beansy21,
    Please refer to the link below to contact the customer support:
    http://helpx.adobe.com/contact.html
    Regards,
    Sheena

  • I get an error message while converting the file. you do not have the privilege to make changes. I get this message when I try to import a music CD

    I get an error message while converting the file. you do not have the privilege to make changes. I get this message when I try to import a music CD

    Hey amba1015,
    I found an article that talks about similar error messages in relation to importing an audio CD. Check out the recommended troubleshooting steps in here to see if they help:
    Trouble adding music to iTunes library or importing audio CD
    http://support.apple.com/kb/TS1387
    Welcome to Apple Support Communities!
    Have a good one,
    Delgadoh

  • I want to change my apple id password but the verification email never appears at my mail.What can I do?

    I want to change my apple id password but the verification email never appears at my mail.Everything else works perfectly fine at my email account.Just the apple messages never show upWhat can I do?

    Hi Lara92,
    Thanks for visiting Apple Support Communities.
    If you haven't received an email at your rescue email address, or didn't provide a rescue email, you can contact iTunes Store Support for help. See this article for more information:
    Rescue email address and how to reset Apple ID security questions
    http://support.apple.com/kb/HT5312
    You'll need to contact iTunes Store support to have your questions and answers reset.
    Best,
    Jeremy

  • When I want to change date of picture, iPhoto close the program. Why?

    When I want to change date of picture, iPhoto close the program. Why?

    As a Test:
    Hold down the option (or alt) key and launch iPhoto. From the resulting menu select 'Create Library'
    Import a few pics into this new, blank library. Is the Problem repeated there?
    Post back with the result.

  • Java daemon on boot: "This user is not allowed access to the window system right now."

    The daemon is located in /Library/LaunchDaemons/ and launches successfully on most occasions. However, it sometimes fails to start with this error:
    Nov 17 20:36:24 server.local java[28972]: This user is not allowed access to the window system right now.
    Nov 17 20:36:24 server com.apple.launchd[1] (net.java.server): Throttling respawn: Will start in 10 seconds
    I have the server command running as a background daemon using its "nogui" option (the developers claim to have written it to not display a gui). However, it seems that somewhere along the line, Java is trying to display something. As the daemon is running before users log in, it gives this error. Once a user is logged in to the system, it runs fine; however, logging in a user to run the server is not an option. It needs to run on boot.
    Any ideas for how to solve this? I'm going to contact the developers to see if it may be something they can fix, but I want to be able to force the issue in case the problem ever occurs in the future.

    Irrespective of any claims by the developer, this certainly appears to be a test case that shows that the tool is not working as expected, and that the application has a bug.  This test case would be better if there was some evidence around why only some of the startups fail, but in general this will involve what's been suggested earlier:  "Contact the application developer."  
    As some general background on what's involved, see daemons and agents and related; processes that are not allowed to connect to the GUI for reasons of security.
    I'd also suggest testing your DNS, as seeing "server.local" can imply local DNS configuration errors.   Launch Terminal.app  from Applications > Utilities and issue the following harmless diagnostic command and see if it reports no changes, or if it detects network or DNS errors:
    sudo changeip -checkhostname
    If this is OS X Server and a NAT'd network, you do not want to reference any DNS servers located off of your NAT'd network.
    Why DNS?  Because DNS errors can cause only some operations to fail, particularly if there's more than one DNS server selected (and where some subset of the DNS servers are malfunctioning or misconfigured).

  • HT1461 For Boot Camp, if you save a file when you are on the Windows side, when you return to the Mac side, can you see the file or can it only be "seen" on the operating side you create it in?

    For Boot Camp, if you save a file when you are on the Windows side, when you return to the Mac side, can you see the file or can it only be "seen" on the operating side you create it in?

    Why don't you  (generic most every post lacks critical details) be clear and say you never used Mac OS etc.
    But, I did try to anticipate and give you what you needed.
    Excel is one of those rare programs that, if they are extremely large complex spreadsheets still tend to run better under Office for Windows.
    A VM won't do for that but it does make it easier to transition. As in: install Windows natively, then use VMware Fusion or Parallels to attach to the partition and OS. That way you can run Windows as Guest OS VM under Mac; and still run Windows natively dual-boot when needed.
    The word "see" was not what you wanted, was it? really? you want to open and make changes and keep it on Windows side rather than Save As or copy to Mac
    You use Windows and don't know it has NTFS (NT FileSystem)?
    http://en.wikipedia.org/wiki/NTFS
    http://en.wikipedia.org/wiki/Hierarchical_File_System (HFS) native file system used by Apple
    And there is much more UEFI style "bios" and other things I suppose.
    Great thing about Google and encyclopedias or dictionary, you can look up what you don't know.

Maybe you are looking for

  • Spinning wheel of death + crashing + very poor battery life = ?

    Hi there everyone. I have a moderately basic website with no real special features. While I do have some media on my site, it's minimal compared to what I've had in the past. I have about 7 sites, some published, some not. I keep finding that when I

  • Adobe After Effects CC does not open in MAC OS Mavericks

    Dear forum friends, I've subscribed to an account of the Adobe Creative Cloud. I'm trying to use Adobe After Effects CC on my macintosh, but it does not open. I installed, updated, but does not work. Have reinstalled and spent hours with Adobe Suppor

  • Open File Dialog in same monitor as application

    I have an application that will be running on computers with dual monitors.  I am using the file dialog in my application and it always opens in the primary monitor.  Is there a way to have it open in the same monitor as the application? Terry

  • Need Appointment Function Module Name to Read any Opportunity  No.

    Hello Gurus Can anyone  tell me the Appointment  type Function Module Name where Header_guid and  Appt_type are to be supplied . Means i want to only read(not to change or create)  an opportunity no for a particular Appointment type(Date_type).  I tr

  • How to fix the white screen of death

    Hi I have been having trouble with my imac that was bought in 2009. I was working on a project when my imac froze. I turned it off and turned it back off but then it showed a screen the color of sky blue. I left it on the whole day then turned it off