Coming out of the block how to invite the message like "do you want to save changes?" so any changes made in the current block

Hello

I'm working on the Oracle forms 6i. I have a custom query search window (do not use the Oracle QUERY_FIND seeded window feature). Build manually (BLOCK_1 and WINDOW_1). When I click on the search button, then I Block table that has windows (BLOCK_2 and WINDOW_2) and in this form, I have a button called details. When I click on the Details button, it opens the details Block (BLOCK_3 and WINDOW_3).

There is no functionality seeded t define the relationship of master details. (everything is customized)

Now, if the user has made a few changes on the block of retail and click the X (close) on this window without COMMIT the record, then how can I display a message to the user as a block level saying that "Do You want to save changes?" and after selecting one of the action i.e. Yes, no or cancel how to perform the action according to the user's action.

This form I have three different blocks and WINDOWS for individual block so when i have all three open window and click on F4, then it closes all windows of three then how can I close the window when the user uses them short key F4 to close the window.

Thank you very much in advance.

Melanie,

Thanks for the update. I tried KEY-EXIT, WHEN now-BLOCK-INSTANCE, KEY of VALIDATION, but unfortunately these triggers are not fired. I found the work around that.

I made after the code in the APP_CUSTOM package in the close_window procedure.

IF: SYSTEM. BLOCK_STATUS = 'CHANGE '.

THEN

FND_MESSAGE. SET_STRING (' do you want to save the changes you made?) ');

l_button:-fne_message.question(button1...icon);

and then based on the user action that performs the action.

END IF;

It works for me. Problem solved.

Thank you very much for your time and your suggestions.

Tags: Oracle Development

Similar Questions

  • Acrobat request "do you want to save the changes?

    Example a PDF in "PDF Reference version 1.7" in Appendix G, result in Acrobat Reader, showing a popup "do you want to save changes to... before closing? Why this even when popup any changes made to the document? How to get rid of this popup?

    Hi carriek34182695 ,

    You will need to disable the safe_mode for this.

    Please navigate in Edition > Preferences > under categories, select "Security (Enhanced)" and uncheck the option 'enable protected startup mode '. Click Ok and restart Acrobat Reader.

    Let us know if that helps.

    Concerning

    Sarojini

  • How do you change the font color in CALL coming OUT of the text boxes in PRO XI?

    How do you change the font color in CALL coming OUT of the text boxes in PRO XI?

    Select it and press Ctrl + E to open the properties bar where the first

    option is the color of the font.

  • Help! iPad 2 keeps coming out of the recovery mode. I have the latest version of itunes and updated my drivers.

    Help! iPad 2 keeps coming out of the recovery mode. I have the latest version of itunes and updated my drivers.

    Please take a genius appointment at an Apple Store, or select another authorized service provider.

  • Outlook Express keeps coming out of the emails in the Outbox even after sending e-mails to friends.

    Outlook Express keeps coming out of the emails in the Outbox even after sending emails to friendsthen continues to send emails over and over again.

    This occurs even after the email was deleated from Outbox. So that the people that I send to obtain email 20 - 30 times instead of only once.

    Can someone help me solve this problem? I have Microsoft XP Professional on my computer.  Thank you.

    A common cause of this is to have your program configured antivirus to analyze the messages, including outgoing mail.  If you can completely uninstall the AV program, and then reinstall it without the analysis feature mail.  If you can't do that, turn off scanning messages.  You will be just as safe.

  • Hello. Editor of newbie here. If I split a video file into two clips in Premiere Pro and you want then save each one as a different file while exporting to the encoder, how to make sure that they are registered in the form of two different with different

    Hello. Editor of newbie here. If I split a video file into two clips in Premiere Pro and you want then save each one as a different file while exporting to the encoder, how to make sure that they are registered in the form of two different files with different after encoding names?

    Located in and out on a section and that export brands.

    .. .Rinse and repeat for the other section.

    Name each section and where it is exported to separately... and as you wish

  • How can I replace the mime types of server, always get the mp3, rar, sid, bin files directly in the dialog box "where do you want to save this file?"

    I used to be able to click on MP3 files, the way back when, and Firefox asks where I wanted to save. Nowadays, it opens a new tab with a flash drive.
    By clicking on the "unknown" files, like .sid, .prg, .zip, .rar is ' this is a BIN file. [Cancel] [Save] ». It does not give me a check box for "always do this".
    I would like that option to edit so that certain types of files, such as PDF, regardless of mimetype, always get opened in a new tab if you click. Also some types of files, based on the extension, always go directly to the dialog box "Where you want to save the file?", without worrying if there is a viewer or a builtin player or not. In my Firefox (41.0.1 14.04LTS 32-bit Ubuntu) I have never the choice "do this for these files always" more.
    Googling led me to delete my file mimeTypes.rdf and since file extensions can even "well known", such as .zip, are treated as BIN files and I get the box Cancel-or-Save for those too - again without the choice of "always save the BIN files.

    These files are send as Content-Type: application/octet-stream and Content-Disposition: attachment;
    To send files in this way, you cannot save an automatic action.
    You can see that in network monitor.

    Content-Disposition: attachment; filename="TURRICAN_AMIGA_PORT.sid";
    Content-Type: application/octet-stream
    
  • How to remove the warning "do you want to save the changes to investigation.pdf before closing.

    Question: To remove the warning "do you want to save the changes to investigation.pdf before closing.

    I created a file of pdf XFA (using the LC Designer 8.2) to view this issue

    I can't attach PDF file. Without attaching the pdf file, it would be difficult to explain.

    Click event js:

    function activateUser() {}
    var PDFVersion = xfa.host.variation + xfa.host.version;
    xfa.host.messageBox ("registered button click event");
    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 recorded");
    XFA. Form.Form1.sendForm.welcomeMsg.Presence = "visible";
    XFA. Form.Form1.sendForm.successMsg.Presence = "invisible";
    };

    docClose js event:

    xfa.host.messageBox ("docClose recorded event");
    Event.Target.Dirty = false;

    Steps to get the caveat:
    (1) open the attached pdf using Acrobat Professional.
    (Bouton 2) click on registration to confirm.
    (3) now close the document and the Acrobat gives a warning "do you want to save the changes to investigation.pdf before closing.

    The XFA pdf summary:
    It has two text fields. DocReady event field has done this & field B is rendered invisible.
    The button click event of the field made invisisble & field B are made visible.
    Closing the pdf should not raise this warning message.

    My Efforts:
    (1) found a property in js adobe docs.
    Event.Target.Dirty = false;
    It does not solve the problem.
    (2) I tried to put this logic in almost all the events listed in the designer, but I'm not able to solve the problem.

    Please help me solve this problem.

    Hello

    Change the visual appearance is dirty the screen, before all data are actually entered in the form. I've seen this before.

    I think that the docClose event is too late to have the sale/requiresFullSave script. preSave does not either, as this is triggered after the warning dialog is displayed.

    For a test, I would put the sale/requiresFullSave script in the layout event: loan. Not the most efficient, but he should do after changing the visibility of the messages.

    This could be interesting: http://cookbooks.adobe.com/post_How_often_events_fire_and_their_sequence-16547.html

    Niall

  • How to stop "Do you want to save" Dialogue

    Hello

    When I am trying to edit the block using Execute_query I get

    Do you want to save the changes you made? -Dialogue

    then I give the 'no' and then all recording will appear in the block.

    My Question

    I want to stop the Dialogue, how to do it please help me.

    Iqbal

    use

    execute_query (no_validate);

    Instead of

    execute_query;

  • To avoid making you want to save the message

    Hello
    When the form is opened, I attribute the SYSDATE value to one of the database element.
    SO, without entering any value, when I get out of means, she asked "do you want to save message.

    How can I avoid this error?

    If I put the following means, I get ' Record has been updated by another user error?

    SET_RECORD_PROPERTY(:SYSTEM.) CURSOR_RECORD, "EMP", STATUS, QUERY_STATUS);

    But if you just write at once - new - form - instance trigger:

    IF
      GET_BLOCK_PROPERTY('DEPT',QUERY_HITS) 0
    THEN
      EXECUTE_QUERY;
    END IF;
    

    and in a time-create-save-trigger:

    :emp.logon_date := SYSDATE;
    

    would be the same effect...

  • Do you want to save the changes that you did in fact 10g.

    Hai All,


    I am using oracle 10 g Forms. When I press the Search, he asks that you want to save the changes you have made.

    in fact this form has been converted to forms 6i. In forms 6i, his job very well, without asking, but in 10g, he asks.


    can someone tell how to remove this message?


    Thanks in advance.

    Kind regards

    Manu

    We therefore know what produces this message. Remove the initial allocation of the WHEN-CREATE-RECORD-Trigger one after another and see the message disappears. Then you have the field that is causing the problem. possible causes:
    a POST-CHANGE trigger on one of these elements, that updates another element in the block

    Possible solution:
    Use

    SET_ITEM_PROPERTY('BLOCK.THE_TROUBLEMAKING_ITEM', ITEM_IS_VALID, PROPERTY_TRUE);
    

    After the transfer

  • Useless the question «Do you want to save the changes...» »

    Hello again,

    I have a block of several recording on the single update is allowed and two buttons: accept and reject. There are three possible ways of changing records:
    1. change the values in some fields and validation - which works very well;
    2. changes to the values in some fields and tap on accept button;
    3. change the values in some fields and press the reject.

    Buttons have implemented the delete, update, insert into some tables using a stored pl/sql package. At the end of the treatment, for the two buttons, "accepted" or "rejected" folder disappears from the block - using execute_query. Problem is that if some values were changed before pressing the button, warning window appears: "Do you want to save the changes you made?" which is in this case useless and boring. How can I get rid of this message?

    Thank you in advance.

    execute_query (no_validate)

  • Everytime I open an email or try to send a new message, following the pop box: DOWNLOAD of FILES you want to save this file?

    Everytime I open an email or try to send a new message, following the pop box: DOWNLOAD of FILES you want to save this file?  I have to click 'Cancel' twice in the order fdor the box go away.

    original title: DOWNLOAD the FILE you want to save this file?  Send error message

    Hi Harold Sokyrka,.

    1. When was the last time it was working fine?
    2. Did you the latest changes on the computer?
    3. Are you using any e-mail program or is it access webmail?

    If you use any e-mail program on your computer, then check and make sure that the default e-mail program is set correctly on the computer.

    How to change the default mail Client

    http://support.Microsoft.com/kb/555566

  • Do you want to save the changes you made

    Hi guys,.

    I need your help

    I ve a form that retrieve data on employees.

    There are 8 blocks in the form,

    I created a when trigger click mouse to display a LOV


    declare
    a Boolean value;
    Start
    a: = show_lov ('TEST');
    pc_execute; -calling a procedure
    END;

    but it gives you want to save the changes you have made?
    and I tried to delete it by setting the level of message system = 25
    but no advantage,

    And if I write:
    declare
    a Boolean value;
    Start
    a: = show_lov ('TEST');
    GO_BLOCK ('ORG_EMP_INCREMENT_HISTORY');
    pc_execute; -calling a procedure
    END;

    the message will disappear, but the query will run not all blocks


    ANY suggestions
    Best regards

    El-Hamdulellah

    Pls to mark your Question and the correct answer...

    and erase what was you meant to do?

    To help others with the same problem...

    Kind regards

    Abdetu...

  • In the mail app, if I try right click and open the attachments of the JPG files that I received, I get the message 'we are unable to open this file. You want to save and try to open with another application? »

    I received an email with 3 accessories, 2 images and 1 PDF.  I am trying to open larger photos and I get the message, "we are unable to open this file.  You want to save and try to open with another application? »

    Why can't click a picture in the mail app and have it launch a photo viewing application. ?

    What you need to do is to go to control panel > programs > by default of the programs > set your default programs. Or search for programs by default, which must raise I have right as well (just start typing on the splash screen or slide from left to right and click on the search button). Go to the photos and select set this program as default. This fixed it for me.

Maybe you are looking for

  • Siri on macbook with belkin express dock

    When I use the thunderbold2 express hd on my macbook pro Siri dock will not work. He is unresponsive to the microphone. When the docking station is not connected SIRI will work.

  • Unable to download the pdf

    When I click on a link to e-mail pdf, I get a message asking if I want to open or save this file. I click Open but I get the same message again. How can I download the pdf files correctly?

  • configuration of a 3 TB HARD drive

    I just installed a new 3 to disk on a M2N68 PAsus - motherboard. Although the Bios (and Seagate for DOS tools) are detect 3000GO I can't get Windows 7 (64 bit) to pick up more than 746GB. I spent the last two days read the Seagate guides (also Micros

  • BlackBerry Smartphones LED indicator questions...

    I got my flashlight just less than a week with no problems... until this morning. When I got it out of the box flashed the light green for emails, and blue for the BBM, which was up to today - now it flashes red. I appreciate, it's a minor annoyance,

  • WMC: closed captioning

    How to display subtitles encoded in Windows Media Center? Got a DVD that does not have subtitles, but it closed captions, and I can't see how I can display in WMC... Note that WMP has no problem display CC. (Running Windows 7 x 64 ultimate)