Unwanted error message

how do I get the message not to appear by day Invalid
(Frm-50004) in forms 6i

Hy Craig, I entered the debug mode runtime messages and realized that the
problem is the ON-ERROR trigger, where the
following code:
Declare
     ret_alert number;
     errnum NUMBER := ERROR_CODE;
     errtxt VARCHAR2(80) := ERROR_TEXT;
     errtyp VARCHAR2(3) := ERROR_TYPE;
begin
--If errnum = 40202 then
     -- mensagem('ale_1','need Date',ret_alert);
if errnum = 50002 then
     mensagem('ale_1','invalid month',ret_alert);
     --message('Mês inválido');
raise form_trigger_failure;     
end if;
if errnum = 50004 then
mensagem('ale_1','invalid day',ret_alert);
--message('Dia inválido');*
raise form_trigger_failure;
end if;
if errnum = 50003 then
     mensagem('ale_1','invalid year',ret_alert);
     --message('Ano inválido');
raise form_trigger_failure;
end if;
if errnum = 50026 then
     mensagem('ale_1','invalid format',ret_alert);
     --message('Formato de Data Inválido');
raise form_trigger_failure;                              
end if;
end;
The problem in this line "if errnum = 50004 then"
run to the line of RAISE, then control returns to
the beginning of the line of the IF, and does it for 3 times.
Edited by: user6670632 on 20/04/2010 14:41

Similar Messages

  • How to remove the unwanted error message probably from AOL?

    For the past several days very frequently I receive a message "service temporarily not available-try again later" When this message appears, in the bar address there is a very long url the beginning of which is: Https//my.screenname.aol"When this message appears and I write in any url in Safari browser the message reappears. However, if I click second or third time on "try again later" the AOL page is accessed.I downloaded a new copy of AOL,I tried to sign in using a different AOL screen name(I have several) and different password but it did not remedy the problem. I did not download recently any new software or updates to existing software.Any suggestions?

    For the past several days very frequently I receive a message "service temporarily not available-try again later" When this message appears, in the bar address there is a very long url the beginning of which is: Https//my.screenname.aol"When this message appears and I write in any url in Safari browser the message reappears. However, if I click second or third time on "try again later" the AOL page is accessed.I downloaded a new copy of AOL,I tried to sign in using a different AOL screen name(I have several) and different password but it did not remedy the problem. I did not download recently any new software or updates to existing software.Any suggestions?

  • How to restrict the number of error messages appearing in af:messages

    Hii all....
    Ihave customized the error messages which are produced when a constraint in a database are voilated using the following links
    http://download-west.oracle.com/docs/cd/B32110_01/web.1013/b25947/web_val.htm#CIHJBIDJ
    and by overriding the ListResourceBundle using the following link:http://one-size-doesnt-fit-all.blogspot.com/2007/05/dont-constrain-yourself-displaying.html
    Now my problem is say, when a primary key is voilated i get repeated error messages and some unwanted error messages like 2,4(which are again repeated) as show below:
    1.Empno - Employee Already Exists!!!
    2.Empno - Attribute Empno in AppModule.EmpVO1 is required
    3.Empno - Employee Already Exists!!!
    4.Empno - Attribute Empno in AppModule.EmpVO1 is required
    Now, i want the user to only see error numbered 1 and rest 2,3,4 should not be displayed on the screen ......plzzz knidly help me.

    Hi,
    In your ErrorHandler, override the method getDisplayMessage and in it add whatever message you'd like. Something like this:
        @Override
        public String getDisplayMessage(BindingContext bindingContext, Exception exception) {
            FacesContext fctx = FacesContext.getCurrentInstance();
            Iterator<FacesMessage> iterator = fctx.getMessages();
            if (exception instanceof JboException) {
                // do something (or nothing)
            } else if (exception instanceof UniqueNameException) {
                // add some message
                if (!iterator.hasNext()) fctx.addMessage(null, new FacesMessage(FacesMessage.SEVERITY_ERROR, "", "This is an UniqueNameException!");
            return null;
    {code}
    You can also try add some code to manipulate the iterator and remove all the messages, and then add only the one you want the user to see.
    Pedja                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Unwanted helptekst when closing error-message.

    Hi Headstarters,
    In the Headstart Demo application and all applications generated by Des6 and HSD incl patch 12.1, after provoking an error message (for example by entering a non-existent user in the Project Business Rules form), when the error message is closed by using the window close button (the x) the help-message is displayed! The expected behaviour would be closing the error message!
    Can somebody help me with this issue?
    Kind regards,
    Arnold de Vries

    After much investigation and experimentation, I found that this is a forms bug that was introduced in Forms 5.x and continues into Forms 6.0.x and 6i. When the user presses the 'X' to close the window, the SHOW_ALERT function returns the value of ALERT_BUTTON3. Headstart has used ALERT_BUTTON3 as the Help button. I have file this as Forms bug #1417991. The only 'workarounds' available are to tell the users not to close the alert this way or to stop using alert button 3. Since we need button 3 for help, we are really stuck.

  • Every time I try to log into ANY website that is secured, I get an error message "This connection is untrusted."

    The error message is:
    This Connection is Untrusted
    You have asked Firefox to connect securely to www.facebook.com, but we can't confirm that your connection is secure.
    Normally, when you try to connect securely, sites will present trusted identification to prove that you are going to the right place. However, this site's identity can't be verified.
    What Should I Do?
    If you usually connect to this site without problems, this error could mean that someone is trying to impersonate the site, and you shouldn't continue.
    www.facebook.com uses an invalid security certificate. The certificate is not trusted because no issuer chain was provided. (Error code: sec_error_unknown_issuer)
    If you understand what's going on, you can tell Firefox to start trusting this site's identification. Even if you trust the site, this error could mean that someone is tampering with your connection.
    Don't add an exception unless you know there's a good reason why this site doesn't use trusted identification.
    Steps I have take so far:
    Verified that system clock is correct
    Cleared all cache, history, cookies, etc.; didn't help
    Started Firefox in Safe Mode; didn't help
    Disabled all Firefox extensions; didn't help
    uninstalled and reinstalled Firefox using Control Panel; didn't help
    Ran Microsoft Safety Scan for malware; nothing was found
    Other information:
    This problem exists ONLY in my user profile and ONLY in Firefox. All 5 other users can run Firefox with no problem. I can run IE and Chrome with no problem.
    Problem exists in ALL secured (https) sites.
    I use Avast and Windows Firewall. Had never heard of ESET or BitDefender before searching these forums.
    A lot of the sites don't give me the option to Make an Exception. The two that I tried to make exceptions for, still wouldn't open.
    Run Windows 7 64-bit

    unfortunately the fiddler2 issuer in certificates might be a sign of unwanted software present on your pc that is intercepting secure network traffic. please go into the system control panel and uninstall programs like BrowserSafeguard, BrowserSafe, SafeGuard or other software that sounds suspicious and didn't get installed by you intentionally.
    <br><sub>reference: https://support.mozilla.org/en-US/questions/982532#answer-520145</sub>
    afterwards, run a full scan of your system with different security tools like the [http://www.malwarebytes.org/products/malwarebytes_free free version of malwarebytes] & [http://www.bleepingcomputer.com/download/adwcleaner/ adwcleaner].
    [[Troubleshoot Firefox issues caused by malware]]

  • Stop the Internal Error Message in Fireworks CS4 or CS3

    About 8 hours ago I ran into what is apparently a fairly
    common problem for many people using Fireworks - the error message
    that wouldn't allow me to save anything. Luckily, I paid attention
    in class long enough to at least know to save my work often, so I
    didn't lose much - just a basic wireframe that I threw together in
    15 minutes or so. Thankfully, I tried saving when I did or this
    would probably be a very tearful night for me. Instead, it's just a
    long night. I can deal with that.
    But, before I pat my iMac on the top of it's screen and say
    "goodnight" I wanted to share with you the secret to "fixing" the
    error message. Hopefully this will help those poor souls in the
    future who need a little guidance from someone who's been there,
    done that, and is too tired to design the t-shirt. This method will
    also work on Windows machines.
    I'm not saying this is guaranteed to work for you, but I'm
    telling you it's worth a shot. It only requires a little of your
    time to do and will hopefully be the fix you need. If it's not,
    please accept my sincerest understanding of your frustration and
    try another method. This fix suggests that you have added, removed,
    or relocated fonts on your computer since the last time Fireworks
    worked properly, however, even if you haven't done any of those
    things I'd still recommend giving this a try. Here's what you do:
    1. Open your favorite font manager software. I prefer the
    pre-installed Font Book on the Mac, but you can use any font
    manager that you want. Some good commercial font management
    programs for Mac include, MasterJuggler, Suitcase Fusion, FontAgent
    Pro, and Font Explorer X. For Windows you might want to try, Font
    Fitting Room, X-Fonter, Suitcase for Windows, OT1 Font Manager by J
    M Berthier, MainType, FontExplorer for Windows, Printer’s
    Apprentice, FontAgent Pro for Windows, Typograf, or FontExpert.
    Those are in no particular order, just in case you were wondering.
    2. select all of your installed fonts - including your system
    fonts. Run your "validate font" command for the font management
    program you're using. Sit back and let it work. I had more than
    6,000 fonts on my Mac, so it took a few minutes to run through all
    of them.
    3. Your font management program should let you know which, if
    any, of your fonts are corrupt, duplicates, or otherwise
    dead-weight. Chances are there will be a few if you're getting the
    internal error message at start-up or save with Fireworks. You need
    to delete or at least remove these fonts from the fonts folder. I
    had, and I'm ashamed of this, 256 duplicates and 135 dead fonts on
    my poor computer. But, in my own defense, I did just reinstall many
    of the fonts a few days ago and was planning to gradually work
    through them to pull out the dead/unwanted ones. I should have done
    that before putting them to disc last time, but no... I wasn't
    thinking.
    4. once you have the fonts removed/deleted that produced
    errors or warnings during the scan with your font management
    program you might want to run the scan one more time just to be
    sure you got everything out. If everything looks good, you can now
    quit/exit the font manager.
    5. here's where things will seriously divide for Windows
    users and Mac users. Therefore, I'm not going to fully explain
    where you need to go or how to get there for this step, but I will
    provide the basics. On your computer, you need to find the folders
    for fireworks that contain your preferences for the program (hint,
    look in the user's appdata folders, which is hidden, for Windows or
    the user's Library for Mac). Inside the preferences folder you'll
    find a file that houses a list of fonts, probably called fontlist
    or something very similar. Delete it. You might also wish to delete
    the cache for the program preferences. Those need to be regenerated
    in order for this to work.
    6. Find your computer's font cache while you're looking
    through the massive amounts of folders and delete the file there
    too for a little added security that this will work.
    7. restart your computer.
    8. open Fireworks and create a new file. Save that file to
    your computer in whatever format you want.
    If the program opened, the file saved, and you didn't receive
    that same old error message, congratulations, it worked! You may
    have to re-establish your preference settings, but you shouldn't
    have any other problems.
    That is the best I can do this evening... or morning I
    suppose it would be. Best of luck to you!
    -Skip

    djbroklee wrote:
    > i'm on the struggle still, i've done the uninstall
    reinstall thing,bought a
    > font manager even though i don't go big on fonts,cleared
    cahces,did
    > regedits,you name it.
    > the fight continues.
    > as far as support from adobe they pretty much don't care
    they got my thousands
    > already this quarter.
    > i'm thinking about a system restore now, pretty much
    lost out on those last
    > two days of pay and now that today is about over i have
    nothing to lose if i
    > can't get it fixed.
    > anyone have any ideas out there?
    > it's too bad i committed to adobe before accepting these
    adobe type jobs.
    > worst case i'll do the work on mirage until i can
    finally get the quick
    > background drop of fireworks again.
    > i didn't pay thousands but it has never even hiccupped
    no matter scripts or
    > tasks i crammed into it.
    > this fireworks issue sort of thing is what put me off
    adobe in 2000, no
    > support for issues,and wonky worksmanship.
    >
    > anyone have the answer thow it over to me,i could surely
    use the catch up on
    > getting paid thing right about now.
    An update is being made to address some major problems, if
    you hold
    tight you might find a solution soon.
    Dooza
    Posting Guidelines
    http://www.adobe.com/support/forums/guidelines.html
    How To Ask Smart Questions
    http://www.catb.org/esr/faqs/smart-questions.html
    How To Report A Bug To Adobe
    http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • Receiving error message when trying to backup computer in Windows Vista Ultimate

    I am receiving an error message when trying to back up files from backup and restore in Vista Ultimate it says Access is denied (0x80070005). This problem began occurring recently after a bunch of unwanted programs were inadvertently downloaded from the
    internet. I uninstalled all of them using REVo uninstaller but some of the files were not removed in the process. Can someone out there help me resolve this problem with the error message I am experiencing? THX 
    DAG

    Karlluch...
    Try here >  iTunes for Windows: "Error 7" message when opening iTunes

  • Ipod/itunes -48 error message when syncing.

    HELP!
    When trying to sync the ipod with itunes, I am receiving an error message. The error message states:
    ipod can't be synced. An unknown error occurred (-48). I've tried reinstalling itunes and repairing damaged files on the computer. I don't know what the error message means and how to fix it.
    Please help. Thanks!

    (-48)error when trying to sync.appeared after I manually deleted unwanted songs from library.(told program to save in itunes folder) instead of recycle bin. Have tried manual and auto sync to no avail. Had successfully installed lastest version of itunes and imported cds prior to deleting songs. Tried to restore to factory settings but unable to as we have another 2 users on the same program, 1 needing the latest program.

  • I get error messages frequently when changing windows or starting firefox

    this is the fourth time i'm trying to contact you guys. i keep getting error messages when i changed windows saying oops this is embarassing... etc. try again button works sometimes, sometimes not, if not have to restart, erases my bookmark menu tabs which i LOVE, and sometimes they come back. i love you guys so much more than internet explorer, but i have had to use internet explorer now almost all the time because of this problem. also, if you could make it so that one can delete blocks of unwanted email (like click the first unwanted email and the last one and then control/shift like in the old days) that would be AWESOME, but i have found that i can't do this in other applications anymore either so maybe it's something windows operating systems took out as they make new versions, but if you guys could create it in your email site wow, everyone would LOVE YOU!!!!!! so many do already, all my IT guys use you and my friends who are halfway computer literate. i hope you can help me with my problem, also i think i read you partner with clients for their websites to improve/add features. is that true? i'd love to do that if so, i'm using go daddy now, and haven't done half the stuff i want to do on my site. thank you for your positivity and you guys make up for those nasty virus makers who wreck people's lives, businesses,.. using their brilliance to harm people, it so sad. thank you again. i hope this goes through this time. i think i'm going to copy and paste it this time on Word so I can mail it to you if i screw up again!
    thank you again so much!
    Deborah Wong, MD
    == This happened ==
    A few times a week
    == 5-8 weeks ago ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; MSDigitalLocker; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

    HOW FRUSTRATING! NOW WHAT IS HAPPENING? WHEN I GO TO ANY WEBSITE THE PAGE FREEZES. TOP OF PAGE READS, MOZILLA FIREFOX NOT RESPONDING, THINK I"LL GO BACK TO IE, WAY TOO MANY ERRORS AND NO TECH SUPPORT ANSWERS

  • Error message file format not supported

    while importing footage from the sony fs-100 to premier pro cs6, I get an error message that reads "file format not supported", and lists every file in the folder i just tried to import. however, once I exit out of that message window, all of those files are available and seem to have imported without error, in spite of the error message. I have scanned through a lot of it, and I can't seem to find any problems, or unwanted artifacts in the footage or audio. I even placed a few clips in the timeline and exported it, and the exported video was also fine. There doesn't seem to be a problem with the footage but I'm afraid to build this large project only to find something wrong with it down the line. please help me.

    In the folder along with the video files are a number of 'metadata' files, it is these files that Premiere is saying are not recognised, as you have found the video imports fine. When importing using the Media Browser these files tell Premiere how to treat spanned clips amongst other things. As Ann says it always works better if you use the Media Browser for importing any asset.

  • Change B2B error message: "Error in R/3 system: document cannot be sent"

    Hi experts!!
    I had the requirement the B2B user not to be able to change orders from the past days.
    I wrote some ABAP code in MV45AFZZ user exit and the functionality works fine! I even receive my custom error message in the B2B but before my message i also get "Error in R/3 system: document cannot be sent. Call our hotline.."
    Is there anyway i can change this standard message in JAVA side???
    Thank you in advance!!

    In the ABAP side, set break point in BAPI_SALESORDER_SIMULATE and check the BAPIRETURN table.. Depending upon the stage and action on the order, the other RFCs you might focus on are SD_SALESDOCUMENT_CREATE  or SD_SALESDOCUMENT_CHANGE. The return structure is BAPIRET2 for this set of RFC.
    You might remove the "unwanted messages here.. or let them flow into the Java layer and tackle them there. That will require you to extend different xxxxStrategyR3 classes and overwrite certain methods in certain classes. The development is NOT streamlined here.
    Read the classes CreateStrategyR3 - there is a method performCustExitAfterR3SimulateCall  
    in ReadStrategyR3 - there is a method called replaceR3MessageTexts and in change..
    in ChangeStrategyR3 - there is a method called performCustExitAfterR3Call
    In all these places you have to read the appropriate table that contains the message and remove it. See ReadStrategyR3~replaceR3MessageTexts for some idea..

  • IE works fine with iTunes U, but if I try to load any section of iTunes U courses with Firefox, I always get an error message.

    The error message always takes the following form (the particulars at the end differ for each university offering iTunes U courses):
    Firefox can't find the file at itms://deimos3.apple.com/WebObjects/Core.woa/Browse/berkeley.edu?ignore.mscache=3228344.

    unfortunately the fiddler2 issuer in certificates might be a sign of unwanted software present on your pc that is intercepting secure network traffic. please go into the system control panel and uninstall programs like BrowserSafeguard, BrowserSafe, SafeGuard or other software that sounds suspicious and didn't get installed by you intentionally.
    <br><sub>reference: https://support.mozilla.org/en-US/questions/982532#answer-520145</sub>
    afterwards, run a full scan of your system with different security tools like the [http://www.malwarebytes.org/products/malwarebytes_free free version of malwarebytes] & [http://www.bleepingcomputer.com/download/adwcleaner/ adwcleaner].
    [[Troubleshoot Firefox issues caused by malware]]

  • I just started getting the error message below - when I drag a file to TRASH, I get the message "Finder wants to make changes. Type in your password to allow this.  Why ? and how to to stop this request ?

    I just started getting the error message below, when I drag a file to TRASH, I get the message "Finder wants to make changes. Type in your password to allow this."  Why ? and how to to stop this request ?

    There should be nothing native to the OS X which would ask for a password
    or  other information on a restart, unless accompanied by the traditional login
    box with your user name.
    There are adware or marginal products that could be called malware (bad)
    that would impose their presence and some items that could have been
    downloaded by accident or through some corrupted free software site; of
    those some could ask for and gain permission to go through your Mac
    and maybe even run in the background to do other nefarious misdeeds.
    You could see if startup in SafeBoot allows you access past that the Completer.
    Since I don't have a pile of helpful article links on how to resolve various issues
    I'd be looking them up one way or another.
    There are some helpful items in the site http://thesafemac.com - see Tech Guides
    listed  (adware, malware, & performance) plus a link to the adwaremedic page.
    Also, Apple support has a helpful page on how to remove adware and other bits:
    •Remove unwanted adware that displays pop-up ads and graphics on your Mac - Apple Support
    Hopefully this helps somewhat.
    Good luck & happy computing!

  • How do I open safari after quit unexpectedly error message?

    How do I open safari after quit unexpectedly error message?

    Force quit Safari if required, then reopen while holding the Shift key.
    Check the links below for options to remove the Adware
    http://www.adwaremedic.com/index.php
    Remove unwanted adware that displays pop-up ads and graphics on your Mac - Apple Support

  • LOW DISK SPACE ERROR MESSAGE :Recovery Drive(D:)

    I have a HP Pavilion G6 model number:2005AX .Recently I have been receiving an error message as in low disk space(only 1 GB free of 20 GB) in D drive but there are no unwanted files in the drive .I am worried that it might cause any problems in the future.Please help what i should do to increase the disk space in the recovery drive.I have included a screen shot of my recovery drive files.

    pooji wrote:
    I have a HP Pavilion G6 model number:2005AX .Recently I have been receiving an error message as in low disk space(only 1 GB free of 20 GB) in D drive but there are no unwanted files in the drive .I am worried that it might cause any problems in the future.Please help what i should do to increase the disk space in the recovery drive.I have included a screen shot of my recovery drive files.
    That normally occurs because someone has turned on system protection for the partition. I can't see your image just yet. 
    Check to make sure that has not happened.
    The following image is how the system protection  window should look
    The following image is what you should see in your recovery partition if you have file options to show protected files. Anyhting else should not be there.
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

Maybe you are looking for