Forms save message problem!

Um working in forms 9i.
I have set SeprateFrame = True in the configuration file, so that the forms applet opens up in a new window.
Now there are two BROWSER windows...one, in which user types the URL of the Forms server and Second, in which the forms applet opens.
I can close the form without getting the default Forms "Do u want to save the ....?" message (by clicking the cross button on the APPLET inside the BROWSER)if there are any pending changes in the data block with a form level When_Window_Closed trigger using Exit_Form(No_Validate). But the problem starts when there are pending changes in the form and I directly press the cross button on the BROWSER which encloses the APPLET. I get the same annoying Forms message "Do u want to save?".
Could somobody tell me how to control the BROWSER window enclosing the APPLET, because all the forms triggers are related with forms only and one have no control over the BROWSER.
Please help.

hi
try this.
BEGIN
               /* ** Force validation to happen first */
               Enter;
               IF NOT Form_Success THEN
                    RAISE Form_Trigger_Failure;
               END IF;
               /* ** Commit if anything is changed */
               IF :System.Form_Status = 'CHANGED'
                    THEN
                    Commit_Form;
                    /* ** A successful commit operation sets Form_Status back ** to 'QUERY'. */
                    IF :System.Form_Status <> 'QUERY' THEN
                         Message('An error prevented your changes from being committed.');
                         Bell;
                         RAISE Form_Trigger_Failure;
                    END IF;
               END IF;     
:system.message_level := '10';
COMMIT_FORM;
:system.message_level := '0';
if
:system.form_status != 'CHANGED'
then
-- go_block('block');
else
Message ( 'Your entered data could not be saved. Please check the form.' );
Message ( ' ' );
end if;
end; -----
On-Message trigger (Form Level)
begin
if
abs ( message_code ) = 40400
then
clear_message;
bell;
message ( message_text, no_acknowledge );
else
message ( message_text );
end if;
end;
Sarah

Similar Messages

  • Locating Oracle Forms Error Messages File to Load into Table

    I would like to create a procedure to suppress and replace Form errors and messages via ON-ERROR and ON-MESSAGE triggers.
    Is there a file that I can load the ERROR Messages from using SQLLDR?
    I have loaded the Oracle error file, $ORACLE_HOME/rdbms/mesg/oraus.msg as identified by Tom Kyte in the following link,
    http://asktom.oracle.com/pls/ask/f?p=4950:8:13189517973890228983::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:558822941373
    but it did not contain Forms Errors Messages such as:
    FRM-40106: No navigable items in destination block.
    FRM-40202: Field must be entered
    FRM-40401: No changes to save
    FRM-40405: No changes to apply
    etc.
    Any help in getting these error messages in a table, other than typing or copy/paste from Forms online help would be greatly appreciated.

    kolipaka wrote:
    Need to write control file to read .csv file for sql*load utility into oracle table.
    Thanks
    KLRWe're sorry that google is broken for you at this time.
    Please try our alternative search site...
    http://lmgtfy.com/?q=oracle+sql*loader+control+file+example
    or
    http://lmgtfy.com/?q=oracle+external+table+example

  • Forms Error Message

    Hi,
    I am using Forms 9i Version 9.0.2.9.0 and Database Oracle 9i Enterprise Edition Release 9.0.1.1.1.
    Database and Developer are in the same computer (Windows XP Professional). Folders are ora90 and 9iDSHome respectively. OC4J is running properly. My problems are:
    1)After building a form, when I am running it after
    compilation, it shows Error FRM-90928 : Positional
    parameter after key on command line. I don't know the
    reason. Even I have made a control block without any
    database item, and when running, it is still showing
    the same message.
    2)I don't know how to get Forms Error message or
    Database Error messages. In earlier versions of Oracle
    there were ways to get these messages, but I could
    not get any in Oracle 9i.
    Could anybody please help me in this regard?
    Sarwar

    The Member Feedback forum is for suggestions and feedback for OTN Developer Services. This forum is not monitored by Oracle support or product teams and so Oracle product and technology related questions will not be answered. We recommend that you post this thread to the Oracle Technology Network (OTN) > Products > Developer Suite > Forms forum.
    OTN

  • FORM ERROR Message

    How I can display the my message which is use in my PL/SQL on form not on self service page.
    I used the following code
    hr_utility.set_message(800,'XX_SAL_ADV');
    hr_utility.raise_error;
    but on form only show XX_SAL_ADV not which I define in application Developer message(Description) I want error message with full description
    when I used full description in this hr_utility.set_message(800,'this is not applicable for current user') it give error FRM-40735 ON-UPDATE trigger raise Unhand-led exception ORA-06502
    Edited by: user12879396 on Feb 11, 2013 5:33 AM

    FND_MESSAGE.SET_NAME('PER','XX_SAL_ADV');
    FND_MESSAGE.SET_TOKEN('c_balance', c_balance);
    APP_EXCEPTION.RAISE_EXCEPTION;
    I used the above code and define message in application Developer-->application-->message as below
    Name----------------: XX_SAL_ADV
    Language------------: US
    Application---------: Human Resources
    Type----------------: 30% Exception Prompt
    Maximum Lengthe-----: Blank
    Description---------: Blank
    Alert Category------: Blank
    Alert Severity------: Blank
    Log Severity--------: Blank
    Current Message Text : You can not Processed for further information contact to HR Department
    whil it display message like below
    XX_SAL_ADV(C_BALANCE=90)
    here token C_Balance get perfect Value in my pl/SQL while Current Message Text did not display.
    further when I save message I also run the following concurrent program
    Generate Messages with this parameter
    Language-----------------------:US
    Application--------------------:Human Resources
    Mode---------------------------:DB_TO_RUNTIME
    File Application Shortname-----:Blank
    Filename-----------------------:Blank
    while I used the seeded message it work fine like below
    FND_MESSAGE.SET_NAME('PER','HR_449741_EMP_FPD_ATD');
    FND_MESSAGE.SET_TOKEN('c_balance', c_balance);
    it display as below
    APP-PER-449741 :You cannot set the Final Process date to be earlier than or equal to the Last Standard Process
    date or the Actual Termination date..(C_BALANCE=90)
    while I Change in seeded no effect display after changes

  • VERY URGENT - Adobe forms with email problems

    I THERE - I AM A ADOBE FORMCENTRAL CLIENT I HAVE MY PAYEMENTS ON DAY BUT FOR SOME REASON THE ADOBE STOP RESENDING TO MY EMAUIL ACOUNT AND TO MY CLIENTS  EMAIL ACCOUNT THE SUMARY OF THE FORM THAT IS SUBMITED. THIS IS VERY URGENT THAT BE FIXED FROM YOU SIDE PLS LET ME KNOW WHAT IS HAPENING.
    PLS FIX THIS URGENT AS I HAVE MY CLIENTS SCREEMING ON ME
    PLS ANSWER TO
    [email protected]

    Now is working
    after 2 hours is working now. but this have never hapen before. now I am
    woried with this ADOBE FORM system!!!! it can hapen and I never know.
    br
    henrique
    2014-04-25 21:29 GMT+01:00 Josh_Corey <[email protected]>:
        Re: VERY URGENT - Adobe forms with email problems
    created by Josh_Corey <http://forums.adobe.com/people/Josh_Corey> in
    FormsCentral - View the full discussion<http://forums.adobe.com/message/6331228#6331228

  • Hi, I was working on a PDF writing comments using Adobe Reader on a Mac.  I clicked save and got a 'cannot save' message.  I then clicked save as instead, Reader froze and my PDF disappeared.  The only version saved has only my first comment.  Does Adobe

    Hi, I was working on a PDF writing comments using Adobe Reader on a Mac.  I clicked save and got a 'cannot save' message.  I then clicked save as instead, Reader froze and my PDF disappeared.  The only version saved has only my first comment.  Does Adobe Reader save to temporary files that I can access in order to recover my work?  Is there any other way to recover it?  Thanks!

    Hi @Pat Willener,
    since I got the same problem as pdfprincess I hope you can help me. The 'Automatically save document changes to temporary file...' is enabled in my adobe reader.
    A file I worked (commented) on a lot crashed. When I reopened the file, adobe reader didn't ask if I want to restore my changes in this file, as it is written on the help.adobe.com page. Is there any possibility to restore the changes manually from the temporary file?
    Thanks in advance - it is really important for me to restore these changes!!

  • HCM Form Error messages

    Hi,
    I need a solution on the Adobe form error messages, here the requirement is to throw the error message, if the employee belongs to employee group=3. This error message need to show when the form opens (After Form selected in the process step) . This error message show on the header message area  not on the form header.
    Please let me know if any one have solution.
    Thanks

    Hey Nagaraju,
    The problem with throwing errors when the form loads, is that you can't right now.  Errors in the framework can only be thrown when you do a check and send, or run an operation to the backend.
    What I've done in the past for throwing an error message for when a form loads, is to have a hidden field somewhere in the form, and if a flag is set detecting an error, then change the status of the field from hidden to visible, and pass the error message to the field.
    The other way is to force the form to refresh itself when it loads so the error shows up in the framework.
    Hope this helps...
    Cheers,
    Kevin

  • Save message on Navigating Record

    Dear All
    When we execute query on a master detail form. All records are executed. When we press down arrow key on master level to navigate to the next record, we get a prompt message "Do You want to save the changes you have made".
    How can this prompt be suppressed.
    "DBMS Message Level" does not work here.
    I shall be ever thankful
    Regards

    Read this thread about the affects of post-query and when-validate triggers:
        Message Do you want to change the changes you have made? caused by a lov
    You probably have a post-query trigger running on either the Master or the detail block that is setting a value -- even to null -- for an item in the block. You should NOT change any base-table values in post-query. And even if you set non-base-table fields, while doing that does not set the record status to CHANGED, it does cause all the validation triggers in the block to run during the query process on each record. And in one of them, you have some code that is setting a value of a base-table field, which causes the record status = CHANGED.
    And then you get the "Do you want to save" message.
    I often put this at the top of my when-validate-item and when-validate-record triggers:
      If :System.Mode='QUERY'
      Or :System.Record_status = 'NEW' then
        Return;
      End if;The above causes the validation process to exit during the querying and fetching of records into your block.

  • Mozilla Thunderbird hangs all the time, won't download messages, won't save messages,

    Hi,
    I have been running Mozilla Thunderbird since the beginning of the year.
    I have always had problems, but it seems to be getting worse.
    It won't download messages, it won't save messages at the time you send them, instead a window runs for ages saying:
    "Copying messages to saved folder"
    Then it says
    "There was an error saving the message to sent, retry?"
    You hit cancel and then it comes up with:
    "The message was sent successfully, but could not be copied to your Sent folder. Would you like to return to the compose window?"
    Then there is the problem of downloading messages, basically it doesn't all the time, it hangs and I have to either restart the computer or download them on my iphone.
    It can take upwards of 20 minutes to download a single message.
    I had a look at the "Activity Manager" and it seems frozen as well.
    It also sends up the messages that the server has been disconnected or timed out.
    I've had a look through the trouble shooting guide but can't seem to progress this.
    Any suggestions will be greatly appreciated!
    I am running the latest version, and have Windows 7, 64 bit.
    I am fast of the opinion I'd better shell out some cash and get Windows Outlook as Thunderfox is a nightmare.
    Many thanks,
    Adrian

    Thunderbird support is over here. <br />
    http://www.mozillamessaging.com/en-US/support/ <br />
    or here: <br />
    http://forums.mozillazine.org/viewforum.php?f=39

  • Won't save message as Draft

    Mail won't save messages as Draft
    just says message cannot be saved.
    Same after reboot.
    In fact I am also getting an error message when composing emails "message cannot be saved"
    any suggestions please
    thanks
    Pete

    Hi Peter,
    Not certain, but this can fix myriad Mail problems...
    Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, then move these folder & file to the Desktop.
    Move this Folder to the Desktop...
    /Users/YourUserName/Library/Caches/Mail/
    Move this file to the Desktop...
    /Users/YourUserName/Library/Mail/Envelope Index
    Reboot.

  • Form SAVE error

    When utilizing the form SAVE function, users receive the following:  [ error ref code: m*Aj9UZm5qZoavGvdTZANA ].  What is this and how do I remedy the problem?

    I am also encountering this error and would appreciate a response.

  • Continuing the "status message problems" issue...

    in response to ralph johns suggestion to delete the buddy list file from my library to solve the outdated status message problem...
    RJ- haha.. i'm not sure i'm going to try the "beat it with a stick" approach quite yet.. i think i found out whats causing the problem. when i would use iChat on campus using our school's wireles, i didnt have the problem of outdated status messages. but when i come home, i do.. and i believe the reason is because i'm using a Belkin G Wireless router. although i do hard line, i'm almost positive this is the problem. i did some research online and it isnt one of the approved routers for iChat.
    so is my only option to buy a new compatible router to solve the problem? or is there somewhere i can go that can tell me what ports to open for a belkin router?? we're getting close... i can feel it!!! haha thanks..
    -brent

    Hi Anders,
    in order to quickly fix that problem, I would just adapt the provisioning function where the warning shows up and make sure that the function uError is called so that an error is created instead of a warning.
    Are you using the SAP Provisioning Framework or a custom provisioning framework. Which repository are you using?
    Best regards
    Holger

  • I can no longer type messages.  I have tried deleting to see if I have too many saves messages.  That did not help.  I also cut off the phone and turned back on.  That did not help.  Ideas?

    I can no longer type messages.  I have tried deleting to see if I have too many saves messages.  That did not help.  I also cut off the phone and turned back on.  That did not help.  Ideas?

    http://www.bubblews.com/news/874646-apple-is-having-issues

  • "Blocked plug-in message" problem on my OS X 10.6.8. (Safari's 5.1.10). Any solutions for a non-techie (step 3 on Adobe Flash's instructions leads to dead end). Thanks.

    "Blocked plug-in message" problem on my OS X 10.6.8 (Safari's 5.1.10). Any solutions for a non-techie (step 3 on Adobe Flash's instructions leads to dead end, i.e. product for sale). Thank you. 

    Prior to updating flash player, you must first uninstall all previous versions.  Make sure you are downloading from the proper Adobe website = Adobe Flash Player Software
    Flash Player Uninstaller
    Repair permissions and restart your computer after the installations.

  • HT1349 Hi all,I have just purchased new iphone but have difficulty in completing the itunes download with message : problem with Windows installer package. A program run as part of the setup did not finish as expected.

    Hi all,I have just purchased new iphone but have difficulty in completing the itunes download with message : problem with Windows installer package. A program run as part of the setup did not finish as expected.
    Would appreciate help...its driving me up the wall!!

    Perhaps let's first try updating your Apple Software Update.
    Launch Apple Software Update ("Start > All Programs > Apple Software Update"). Does it launch and offer you a newer version of Apple Software Update? If so, choose to install just that update to Apple Software Update. (Deselect any other software offered at the same time.)
    If the ASU update goes through okay, try another iTunes install. Does it go through without the errors this time?

Maybe you are looking for

  • ITunes deletes song files from my computer when I sync a device

    When I sync a device in iTunes, it will sync fine and copy over all the files I need it to, but sometimes it will delete those files from my computer after it finishes copying them over. I'm not sure why this happens, I just know that I definitely ha

  • Macbook pro weak and slow..

    Problem description: My macbook pro has been running very slow for the past 6 months.  I just changed my HD to an SSD drive  thinking it would fix the issue but it hasn’t.   Videos run behind audio, and pro app like logic are taking immense amount of

  • Apple deleted every single thing on my phone. How can I get this stuff back? Please help me.

    So I plugged my phone to the computer to add new music, and then Apple said it needed to do an update. So I did. And then when my phone turns back on, pictures and stuff are gone up to a certain date (which must be when I last did a back up. The stra

  • OB52 change log report

    Hi, I have a requirement where i need to to copy the standard report RSVTPROT Evaluation of Change Log  (OB52 Transcation) to custom report and change the layout format to ALV . When i looked into the standard report the report RSVTPROT is being call

  • Add text item data and display the output in another text item

    Hi! All, I have four text item. like HA,DA,basic_salary and total_sal.I want to add the data entered in the text item in HA,DA,basic_salary and display in total_sal text item.How can I do this.Please help in this matter. Thanks, Abha