raise the _trigger_failure form

Hi friends

I use Oracle Forms Developer 6i 2000
I have a problem in this code
and error on
raise form_trigger_failure
the erros is that
* 100501: NON-ORACLE exception * and normal completion, success of ORA-0000
When I removed raise form_trigger_failure then it works fine but
I have error on raise form_trigger_failure I
Please tell me how to manage this problem
I m announcing my code here...


--- ---

FUNCTION Set_Time_Format (P_Emp_Id in number, as P_Date, P_Time In Varchar2) RETURN VARCHAR2 IS
V_TIME_FORM Varchar2 (8);
V_Time Varchar2 (20);
V_Sys Varchar2 (20);
BEGIN
If: Emp_Id is null or: dt_attend is null
Then
Message ("enter first Date or employee '");
On the other
V_TIME_FORM: = to_char (to_date (P_TIME, 'HH24'), "HH24");
V_Time: = P_Date | ' ' || V_Time_FORM;
V_Sys: = To_Char (sysdate, 'DD-MON-RRRR HH24');
If
P_Time is null then
Null;
On the other
If
To_Date (V_Time, 'DD-MON-RRRR HH24') > To_Date (V_Sys, 'DD-MON-RRRR HH24')
then
Message ("time may not be high time system and then '");
raise form_trigger_failure;
end if;
End if;
IF: TIME_IN IS NULL OR: TIME_OUT IS NULL THEN
: TOT_HRS: = NULL;
ON THE OTHER
CHK_TOT_TIME;
END IF;
End If;
RETURN V_TIME_FORM;
exception
When no_data_found then null;
while others then
Message ("Time Out:' |") SQLERRM | "Error code:' | '. Error_code | "Dirty Code: ' |" message_code);
END;

Al-Salamu Asalam we Rahmatu Allah we Barakatu...

100501: exception non-ORACLE

This is the code for a FORM_TRIGGER_FAILURE exception inside the If identified block...

because Form_Trigger_Failure is a non-Oracle exception.

Solution:_ Pls use the following...

RETURN;

rather than raise FORM_TRIGGER_FAILURE

I hope this helps...

Kind regards

Abdetu...

Tags: Oracle Development

Similar Questions

  • I use the latest version of firefox, but cannot print all downloads. I tried to use the icon to print the downloaded form and also control P

    I tried using the icon of the downloaded form printing and also control P, but only get a blank page. I even changed my printer, but it did not help. My print menu looks the same, and I have quite everything, print only with downloaded files.

    Hello, it's currently a bug in firefox's built-in pdf viewer that is studied by our developers. in the meantime, you can use a plugin third pdf as Adobe that you can enable in the firefox options > applications -scroll down and set the default action for the portable document (pdf) format.

    How to disable the built-in PDF Viewer and use another Viewer

  • Firefox makes my filling out forms online when the standard form of information such as name, address, e-mail, phone number. I went just from Goole Chrome who had this feature.

    Google Chrome would provide drop-down list prompt you for this information that I started to enter the information. I would just like to point out the correct prompt and press enter and the information must be entered in the online form.

    See:

  • I upgraded 10.11.4 and all applications that I try to raise the alert that they damaged what happens?

    I upgraded 10.11.4 and after restart of applications I try to raise the alert they are damaged. That is what it is?

    Safe Mode boot removes the system caches that can help after an OS X day or level.

    Upper left corner of your screen, click on the Apple  > Shut Down.

    After your Mac stops, wait 10 seconds, then press the power button.

    As soon as you hear the startup tone, hold down the SHIFT key. You must press the SHIFT key as soon as possible once you hear the startup tone, but not before.

    Release the SHIFT key when you see the gray Apple logo and progress indicator.

    Once you are in Mode without failure, return to the menu Apple . In the drop-down list, click: reboot

    Then try to launch an application.

    On Safe Mode

  • Can I enter both a table and a constant of double precision in the VI form?

    I would like to calculate a new 1 d array using the formula VI. LabVIEW 'smart enough' to enter a 1 d table and a double precision constant in the VI form and leave a 1 d table receives basic commands?

    For example, can I enter [1 2 3] table and the constant [2] and say "table * constant-1" in the VI form and get an output of [1-3-5] or do I have to make a loop for or something?

    The Express VI formula seems that it can have up to 8 inputs.

    Twolfe, the best way to find an answer to this type of question is to try it.

    I didn't know this (because I have no reason to use that express VI), but you can wire a table to it.  He treats like any other LabVIEW operation on arrays.

    But if you were to make a loop, then you should already be avoiding Express VI and start making actual emissions.

  • How to raise the exec.vi system administrator on Win7

    Hi guys

    I build an installer to our application and want to inject the driver OR not required for the program interface with our material in Win7... I'll use pnputil.exe to add and install our signed driver... But pnputil will work only if cmd prompt is amounted to administrator (being administrator is not enough by using cmd)... This is easily done in the environment of win7 (ctrl + shift + enter to the search bar after typing cmd) but y at - it a command that works on win7 I could call to enable this rise happen without user interaction? I wanted very much as for create a post installer that calls the installer of NOR raise the program, and then call the function pnputil since the exec.vi system, which leaves the system with the installed driver and a plug ' gaming experience to the user.

    Any good suggestions?

    Best regards

    Jacob Navne

    LV8.6.1 - win7 / XP

    If you use the option "run command line after installing" Installer, I think that it runs the command line with the same rights that the installer had, that rights should be admin high you're looking for.

    It worked for me in the past to win7.

  • How LabVIEW can press a command button in the Access form?

    Situation: access database with a command button, which generate code after you have pressed

    Task: LabVIEW open the access database, you press the command button and read the code

    Status:

    • Use activeX to open data access - ready
    • Press the control button - open
    • code - open reading

    Problem: is there a possibility that LabVIEW automatically press the button in the Access form?

    Dear Mike,
    Thanks for the reply. You are right that MS Access is not really a database. ;-)

    When the operator will push the button, the program generates a serial number and add the new number in the article table.
    Therefore, by pushing the button means process this code.

    Solution
    After that I became the password to unlock the database, I have check the code behind the button and build it with LabVIEW.

    So it is not necessary to press the button :-)

  • The event of COM + a system attempted to RAISE the event object. Warning event Id: 4353.

    Original title: anyone know what this means? Its a new one on me!

    Anyone know what this means?

    The event of COM + a system attempted to RAISE the event object: change subscription events but had received a bad return code.    HRESULT was 80040201.

    Warning event Id: 4353

    Im not accustomed to see messages like this.

    What happens if the bad thing is fired?

    Someone please answer as soon as POSSIBLE. My imagination

    will work 24/7 to 100% until I get the

    response. Thank YOU, larrythehawk

    This has happened on Windows XP Pro. The Application of event viewer

    Hi Larry,

    Sorry for the late reply. Let us know a few things before you proceed.

    • You are looking at these errors in Event Viewer?
    • Is affecting how your computer performs?
    • Have you tried troubleshooting on the same?

    Please response so we can help you best.

  • The resizing of the Windows form performs a test of the Windows XP computer.

    Original title: resizing the form event performs.

    I have a c# program that uses the Windows form resize event. On my Win 7 and the machine on 1 of my XP machines

    the program works very well. However on my other XP machine, the resize event fires prematurely when the application

    is current initialization blowing toward the top of the original graphical user interface of the application.

    The two XP machines related worm 5.1 build 2600.xpsp_sp3_gdr.111025 - 1629 as the operating system.

    The obvious question is "why would be 1 machine to fire prematurely the windows form resize event when the other.

    "2 machines to not"?

    Any help/comments/suggestions will be much appreciated.

    TIA, Joe

    Hello

    I recommend you ask your question in the forum MSDN for assistance:

    http://social.msdn.Microsoft.com/forums/en-us/categories

    Hope the helps of information.

  • Windows Media Player keeps reversing information of track that I edited to the modification form, destroying hours and hours of work. All I can do to stop it? Thank you.

    Windows Media Player keeps reversing information of track that I edited to the modification form, destroying hours and hours of work.  All I can do to stop it? Is it possible to change information so it cannot be changed by WMP? Thank you.

    Hi mynamesv,

    ·         Did you do changes on the computer before the show?

    Follow these methods.

    Method 1: Follow the steps in the article.

    Resources for the resolution of problems in Windows Media Player

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

    Method 2: You can re-create the database of Windows Media Player and see if that fixes the problem. Follow these steps:

    (a) output Windows Media Player.

    (b) click Start, type %LOCALAPPDATA%\Microsoft\Media Player, and then click OK.

    (c), select all the files in the folder and then click on Delete on the file menu.

    Note: You don't have to remove the folders that are in this folder.

    (d) restart Windows Media Player.

    Note: Windows Media Player automatically rebuilds the database.

    If this does not resolve the problem, disable the Windows Media Player database cache files. To do this, follow these steps:

    (a) output Windows Media Player.

    (b) click Start, type %LOCALAPPDATA%\Microsoftand then click OK.

    (c) select the folder Media Player and then click on Delete on the file menu.

    (d) restart Windows Media Player.

    Note: Windows Media Player automatically rebuilds the database.

  • Under XP, when I try to install the program screen flash BACK and trying to change back, but then return to the windows form.

    When I run the Setup in the program screen flash backs and trying to change back, but then return to the windows form.

    * original title - back program will not be run. *

    How old is this program and what is his name?  If you give us the name of the program someone read here who have experience with the peculiarities of the program might be able to provide more help.

    Open a command prompt, and then try running Setup from the command prompt.  To start a command prompt, type CMD in the box run from the start menu and press or click OK .  At the command prompt, you can use the CD command to navigate to the CD, or you can run the Setup program by using the full path to the Setup program, for example:

    x:\Install.exe

    where x is the CD drive letter.

    John

  • I want to send my message by mail with the email form that I have already installed

    I want to send my message by mail with the email form that I have already installed

    original title:<>

    Hi Michael,

    I suggest you to check if you get the same message in Internet explore, if you use Firefox I suggest you contact Firefox for using the link below.
     
    Hope this information helps.
  • Win 7 Ultimate stuck on the windows form

    Hello world

    I close my laptop last night and booted up this morning only to discover that he's stuck on the windows form. The laptop computer to download updates and installed when I stopped. I need help just to get it to work properly.

    Thank you

    Hello

    Do a Safe Mode system restore, which takes back you to a time before the updates were installed.

    "In Windows 7 system restore:

    http://Windows.Microsoft.com/en-us/Windows7/products/features/system-restore

    'Advanced options boot (including safe mode).

    http://Windows.Microsoft.com/en-us/Windows/Advanced-startup-options-including-safe-mode#1TC=Windows-7

    "The Advanced Boot Options screen lets you start Windows in advanced troubleshooting mode. " You can access the menu by turning on your computer and pressing the F8 key before starting Windows (press F8 at the rate of about once per second)"

    @@@@@@@@@@@@@@@@@@@@@@

    If this does not it, follow this method:

    Make your own information system repair disc in this tutorial:

    "How to create a Windows 7 system repair disc"

    http://www.SevenForums.com/tutorials/2083-system-repair-disc-create.html

    "This will show you how to create a system repair disc Windows 7 to be able to use to start the system recovery options to help recover your Windows 7 installation, if you have not a Windows installation disk, can't find your Windows installation disc or can not access the recovery options provided by your computer manufacturer.

    A system repair disc is not able to install Windows 7.

    Note

    If you are unable to start your Windows 7 to create a Windows 7 system repair disc, and then you could create on another computer for use on your computer. »

    _____________________________________

    Then, use this disk for System Recovery Options:

    "System recovery options".

    http://www.SevenForums.com/tutorials/668-system-recovery-options.html

    "How to run a startup repair in Windows 7"

    http://www.SevenForums.com/tutorials/681-startup-repair.html

    See you soon.

  • I was just wondering if raising the Task Manager causes a spike in CPU percentage used? What is the normal percentage?

    I was just wondering if raising the Task Manager causes a spike in CPU percentage used? What is the normal percentage?

    Original title: percentage of CPU

    ASJ

    I guess it depends what you mean by 'raising '.  If the Task Manager is running minimized and you maximize there should be virtually no effect.  If you ask any Manager launch tasks can be a brief rally in cpu, memory, and HD activity, but he should be back almost immediately where he was, the slight increase depends on your specifications of the system and other factors.

    Is there a reason you ask?

  • Unable to find the tool forms in Visual Basic 2008 Express Edition

    In fact, it was not any category of software, so I posted this in Windows (sorry about that: P). recently, I decided to learn the Visual Basic. I have a Visual Basic 2008 Express Edition software, which works well and good. While learning, in a book, was an activity. They refer to the Shape tool to create a rectangular box in the design (form). I tried, but I couldn't find any tool like this. Could someone help me please? I'm stuck for more than 5 days. Thank you best regards &.

    This issue is beyond the scope of this site and must be placed on Technet or MSDN

Maybe you are looking for

  • Problems starting with the Satellite A100-662

    Hello I appeal to your jurisdiction after a first contact with the Toshiba support on the phone.My problem is the following: your computer Satellite A100-662 begins at random, sometimes it starts the first time, and other times it starts only partial

  • HP - 11-n109TU: Ram upgrades

    I use HP - 11-n109TU, which is a 4 GB of ram just wanted to know if I u [pgrade to 8 GB of ram or not?]

  • HP 655 system disabled, code 82531735 displayed

    Laptop HP 655, need to re - configure the sytem passwords & remove all new passwords, do not like to be locked.

  • Help, please! Problem in the use of http to call the url?

    Hello I develop application for Blackberry 8830, which is the cdma device. I want to develop the application that uses the http protocol to call url and gets the response. To use http everything I read there about 5-6 ways. But the only one that fits

  • Cisco MDS 9 k series

    Hello I'm new to this switch. I want to configure SMTP alerts every time that a failure of port / hardware problem happens on the switch. Kindly help, how we can set this up. Thank you