Do you want to save changes you have made

hi guys,,
I need ur help
I ve a form which retrieve employee data,,
there are 8 blocks in the form,,
i created a when mouse click trigger to show a LOV
declare
a boolean;
begin
a:=show_lov('TEST');
pc_execute; -- calling a procedure
END;
but it gives Do you want to save changes you have made?
and I tried to suppress this by setting system message level = 25
but no benifit,,
And if I write :
declare
a boolean;
begin
a:=show_lov('TEST');
GO_BLOCK('ORG_EMP_INCREMENT_HISTORY');
pc_execute; -- calling a procedure
END;
the message will disappear but the query will not execute all blocks
ANY suggestions
Best Regards

Al-Salmau Alikum We Rahamatu Allah We Barakatu...
if u wanna getting ur total records of emp block then do this as an example ...
FUNCTION query_count (p_block_name VARCHAR2) RETURN NUMBER
IS
  cnt NUMBER;
BEGIN
  GO_BLOCK(p_block_name);
  COUNT_QUERY;
  cnt := GET_BLOCK_PROPERTY(p_block_name, QUERY_HITS);
  IF FORM_SUCCESS THEN
    RETURN (cnt);
  ELSE
    MESSAGE('Error in getting Query Hits for block '||:SYSTEM.CURRENT_BLOCK);
    RAISE FORM_TRIGGER_FAILURE;
  END IF;
END;and notice the result in the status bar...
But if u wanna have data it's another issue...
so u have to do for example...
IF NOT Id_Null(blk_id) THEN 
    Set_Block_Property('block_name',DEFAULT_WHERE,'emp_id = ' || emp_id);  
   Execute_query;  
   ELSE       Message('You have a problem!');     
RAISE Form_Trigger_Failure;  
END IF; Hope this helps...
Regards,
Abdetu..

Similar Messages

  • How to avoid the message "Do you want to save the changes you have made?"

    i have 3 forms
    master block
    detail1 block of master
    detail2 block of detail1
    when i go out of detail1 and detail2 blocks after doing some modifications it asks me "Do you want to save the changes you have made"?
    i want to avoid this message as well as my changes should be posted in the database. what is the solution for this big pblm?

    hi
    may be you are trying to modify the database item or reassigning the database item value which is not actually needed.
    try to comment the reassigning database values
    and give clear_form(do_commit);
    most probably u will not get the message again
    Regards
    Rajdeep .A

  • Forms6i question - Do you want to save the changes you have made !!

    Hi,
    I'm developing a custom master-detail form for 11i e-Business Suite. The requirement is to programmatically default values for some of the base table items when entering the master record.. Both the master and the detail blocks are base table blocks and defined the relation between these 2 as well..
    So i have coded my defaulting logic in the "when-new-record-instance " trigger only when the "(:system.record_status IN ('NEW','INSERT' ) AND :system.mode <> 'ENTER-QUERY')"..
    This is working but the problem is even when i do not change any values in the master block and i try to exit out of the form, getting a message "Do you want to save the changes you have made ".. I want to get that message only when some thing else is changed/entered in the master block or when any new detail records has been entered for that master block.
    Thanks in advance
    Shree

    Shree,
    It sounds like you have a Post-Query (PQ) trigger that is populating items in your Form. This is the typical reason why you would see this message when you close your form and no User changes have been made. The best solution would be to move your non-base table items from your data blocks to a control block so the PQ trigger won't mark the block or record as "Changed".
    Hope this helps.
    Craig...

  • Gettins "Do you want to save the changes you have made" promt without any

    Hi all,
    Problem : I have a master detail relation between two blocks which are on different window ( say block 1 on window 1 is master and block 2 on window 2 is detail) ,
    when i open my window 2 and close it without any changes, then when i try to do any change in window 1 i get this popup message "Do you want to save the changes you have made".
    I have various non database items as well which are used to hold intemediate values like sum of a column and all.
    for the close button on window 2 logic :
         go_block('BLOCK1');
         hide_window('WINNDOW1');
    I dont want to change the message level. as if there are really changes made then we need this message.
    In another thread i saw this might be due to copy "value from property" created by master detail relation on the joined columns.
    Please suggest any solutions.
    Thanks in advance.

    HI I found the solution to this Problem:
    when we queried the data block then few items values were assigned . this changes the block_status to CHANGED as well as the form_status variable to CHANGED.
    so in EXIT logic of that window i cleared each block explicitly . this discards all the changes made to those blocks ( This logic was implemented for CANCEL button on my screen as so we need not save the data) while the SAVE logic already has the COMMIT so will not set the popup for that.
    Not a beautiful logic...... but works ...... :)

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

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

  • HOW to call at anytime the form6 "do you want to save the changes you have made"????

    HOW to call at anytime in form6 "do you want to change the save you have made"????
    It executes only if you use exit_forms
    and I don t want to save with a commit_forms
    without do appears this forms of form6
    Thanks a lots for any answering
    null

    you have to write a trigger on key-clrfrm and key-next-record.
    on that triggers you can call alert with 2 or 3 buttons.
    I hope it will help.
    Mustafa

  • Suppress the message do you want to save the changes you have made

    hi all
    i have written a rollback
    it clears my record
    but gives me the message
    do you want to save the changes you have made
    i have written
    :system.message_level :=25;
    rollback;
    :system.message_level=0;
    but still it is giveing me the message
    can you please tell me how to suppress this message
    please help me
    thanks
    mandar

    try in reverse

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

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

  • 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

  • LOV Display - "Do you want to save changes?"

    Hello,
    I setup and simple LOV with just a few fields. When the user enters runs the form they can click on a button "View List", then the LOV displays nicely. They can choose a record from the list and it displays just fine in my form.
    The problem is that when they click on the "View List" button again, then chose a differnent record, I keep getting the message "Do you want to save the changes you have made?". Even when you say "NO" it doesn't even bring up the record that I clicked on.
    My "View List" whe-pressed trigger looks like this:
    IF Show_lov('LOV_NEWSLETTER') THEN     
         execute_query;
    END IF;
    Do I need to clear the form or something like that ?
    Please help,
    Bob

    Hi Bob,
    the reason is your execute_query statement in the trigger. The user picks up a value out of the LOV, the record get marked for insert/update inside forms. The next time the user picks up a value, forms have to ask for saving the changes because you wan't to progress a execute_query against the same table again. Why do you use execute_query after showing the LOV ?
    Hans

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

Maybe you are looking for

  • FI Document created during WBS settlement

    Hi Everyone, I have an issue regarding the FI document generated while running CJ88 for WBS settlement. We settle a WBS to a Cost Center, after it, three documents are created, an FI document, a CO document and a Profit center Document. Logic tells m

  • Chinese characters in form input

    FormsCentral appears to permit me to enter Chinese characters into the form template itself. It seems to permit only Latin characters to respond to the form. Is that a limitation of FormsCentral, or is it a function of the language for which the brow

  • Every time i download something i get this error message "Fireclam Problem"

    Every time i download anything i get this problem once the download is completed. Fireclam Problem The program executable (null) could not be found. Make sure that ClamAV/ClamWin is installed properly and check the Fireclam settings I downloaded the

  • Flicker/Freezing/Crashing OS X 10.8.4

    Issues with screen flickering/freezing/crashing in OS X 10.8.4 continue after fresh OS install.  May have mutiple causes but seems to be initiated 100% of time the time when using Netflicks.com (microsoft silverlight plugin)  I will attach the log sh

  • Time Machine  - 283gb backup take 60 days?

    After about 2 years of not backing up my desktop (iMac 21.5 inch, late 2009, 4GB, running Mac OS X Lion 10.7.5) - I decided to run a back up so bought a WD My Passport for Mac, 1TB ... so I select the My Passport in Time Machine Preference, hit "star