Trapping failure of VALIDATE(FORM_SCOPE)

Help!
I am trying to fix a bug in a KEY-COMMIT trigger that calls VALIDATE(FORM_SCOPE) before deciding whether to COMMIT or not. The problem is that it does not seem to be possible to trap a failure during VALIDATE() e.g. if a mandatory field has not been filled. I have tried testing for FORM_FAILURE or FORM_SUCCESS immediately after the VALIDATE call, or putting the VALIDATE() in its own block with a WHEN OTHERS exception handler, but this does not work. The rest of the trigger code is always executed, which is not what we want.
Does anyone know how to make the trigger stop execution if anything goes wrong during VALIDATE?
Thanks,
Chris

By default the validation scope is item. Forms will validate every item during the commit process. There has to be some validation trigger(with raise form_trigger_failure if it fails) for the item, if the form has to stop during validation in the commit. Otherwise it's going to validate according to it's properties and set the item status to valid. Anyone correct me if I am wrong.
Partha

Similar Messages

  • Failure to validate the database credentials during install

    Hi all,
    I am trying to install BO SP3 on XP SP3 and installed db2(DB2 v9.1.200.166) successfully but during the installation process of BO when i select the existing CMS db2 ,
    I am getting this error "Failure to validate the database credentials has a potntial to crash the database ata a lter stage. Enter the correct information."
    CMS Database Error: STW00226.
    And plz help what i have to give for server i had given "db2" is this correct? (I had created the database in db2 as CMS and give as server CMS)
    Please help me with solution?
    Regards,
    Neni
    Edited by: swaroop v on Feb 7, 2012 12:35 PM

    I have created the table successfully.
    The  command completed successfully.
    Explanation:
    No errors were encountered during the execution of this
    command. 
    User Response:
    No action required. 
    Please help me where i need to check "default tablespace set in the DB you're connecting to.
    Check if there are any restrictions on the DB and page file."
    I have find the SAP Note for UNIX,but i am installing on XP
    SAP Knowledge Base Article     Printer-Friendly Version | Quick link
          1613486 - Error: "Failure to validate the database credential has a potential to crash the database at a later stage. Enter the correct information. (STU00104)" while installing BOE XI 3.1 on UNIX environment.     
    Regards,
    Neni
    Edited by: swaroop v on Feb 7, 2012 6:42 PM
    Edited by: swaroop v on Feb 7, 2012 6:44 PM

  • There was a failure to validate setting INSTANCENAME in validaton function ValidateUsers

    Hello,
    I'm trying to install SQL Server 2012 and I'm having trouble entering in the INSTANCENAME.
    I have read on some forums that the default value for this is MSSQLSERVER.  Regardless of what values I put in, I get the following error message.
    TITLE: SQL Server Setup failure.
    SQL Server Setup has encountered the following error:
    There was a failure to validate setting INSTANCENAME in validaton function ValidateInstanceName.
    Error code 0x85640004.
    For help, click: http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft%20SQL%20Server&EvtSrc=setup.rll&EvtID=50000&EvtType=0x2990711A%25400x38AD03A5
    BUTTONS:
    OK
    Any help would greatly be appreciated!

    You have to choose:
        o DEFAULT INSTANCE
        o NAMED INSTANCE
    You need to enter name for named instance only.
    Default instance is the same name as the host computer.
    Examples: MYCOMPUTER, MYCOMPUTER\SQL12
    In services they show up as SQL Server (MSSQLSERVER), SQL Server(SQL12) .
    Kalman Toth Database & OLAP Architect
    sqlusa.com
    New Book / Kindle: Pass SQL Exam 70-461 & Job Interview: Programming SQL Server 2012

  • Restore failure -cannot validate source -resource busy

    After a successful creation of bootcamp volume with XP and MS Office I found 11GB too small a partition. I made an image of my OS and installed software, reformatted to a single volume, created a larger 32GB partition and attempted to restore the image to the Bootcamp volume. Same error each time "restore failure -cannot validate source -resource busy"
    Stuck - any ideas?

    You used WinClone to backup and restore Windows?

  • Unable to validate my serial number for purchased version of premiere elements will not connect to internet even though my connection is ok

    i have purchased an official copy of premier elements 13. i have my serial number etc but when i go validate my sign in throgh my internet connection nothing happens. its a nightmare !! I cannot even find out how to generate a rerquest code for offline valiodation. clicking on "generate response code " does nothing. I have jjust spent £79 on this product. will someone please help. ther is nothing wrong with my internet connection.

    Hi, A.T.R
    Thank you so much for your common sense reply. I contacted Adobe via their online chat help facility. One of their tech guys resolved the issue by re-setting the Hosts file. Now I have seen this in the forums and it basically involves making a back-up copy of the Hosts file deleting certain entries and applying again.. Thankfully this worked for me. But I would urge Adobe to look into this matter as there are many novices I am sure will be extremely frustrated at what should be a straight forward approach when validating their software. Most people would know there internet was working ok and most people would be able to disable anti-virus software etc, but to continue getting a failure to validate a serial number online would in my opinion beggar belief !! for most technically minded folks out there. Most annoying.
    When anyone purchases legacy software from Adobe, no one wants this kind of problem. The software is not cheap.
    My purchase was Adobe Premiere Elements 13 and it is a great piece of software for video editing. I can however recommend it. It is very good for both novice and professionals
    Thank you.

  • Audio Unit Validation Failure

    Hi,
    I'm running Locig Pro 7 but I'm having problems with one of my synths. When I open the AU Manager and run a scan it fails validation. The synth is Rob Papen Blue. In the result it says this:
    Checkeing Parameter Setting
    Using AudioUnitSetParameter
    Using AudioUnitScheduleParameter
    ERROR: Buffer overun was detected when rendering
    FAIL
    And then it says to correct the errors above. I have the same with another plug-in called OhmBoyz.
    If anyone knows what to do, please let me know.
    Thanks
    Much appreciated.

    Sometimes Validation is unnecessarily stringent. I take it you can't use the synth even so?
    "Buffer Overrun" — haven't heard that one for a while!
    If in doubt, you could try re-installing your synth, but validation is quite likely to fail again if the routine just doesn't like it.
    Perhaps someone else could suggest a method for getting around persistent failure to validate; I had heard there was a way, but I'm afraid I don't remember what it was. Sorry!

  • Error while installing BO XI3.1

    Hi,
    We are installing BOXI3.1 on LINUX 64 bit server.
    we had already installed oracle 10g for repository database on AIX 64 bit.
    We have also installed oracle selec client 64 biton Linux server.
    While installing BO we are stuck after selecting the option of using the existing database for repository.
    when we give TNS name , Username of oracle schema created and password it gives the following erro.
    Failure to validate the database credential has a potential to crash the database at a later stage. Enter the correct information. (STU00104)
    Can somebody help in this case.
    Thanks in advance

    Hi,
    please make sure the the 32bit oracle libraries are installed on your machine (BOBJ server) and that these are visible for your BOBJ installation user (you have to define the LD_LIBRARY_PATH variable accordingly)
    Regards,
    Stratos

  • SMS_MP_CONTROL_MANAGER Failed to create the CCM_Incoming Virtual Directory

    Hello -
    I'm hoping someone could help me with this problem. I've searched so many websites trying to resolve this issue and it seems no matter what I try I keep getting the same error message.
    I've followed the steps in setting up SCCM 07 from this web site which was very nicely done! I've also followed the directions on Microsofts Tech Net website on how to configure WebDav and IIS settings.
    I'm working on a Virtual Windows Server 2008 32-bit OS, SP2, SCCM 07 SP2, IIS7
    Here is the message I get in the log files:
    Message ID: 4963
    Process ID: 4364
    Thread ID: 7996
    Componet: SMS_MP_CONTROL_MANAGER
    MP Control Manager detected MPsetup has failed to create the CCM_Incoming Virtual Directory.
    Possible cause: The IIS IWAM account has expired, been disabled, or has invalid or too restrictive logon hours. You may verify this information by running the net user command line for the IWAM account. (i.e.: "net user IWAMMachineName)
    Solution: Use the output to verify that the account is enabled, and logon is possible during the time of installation. Note: You can use "net user" to modify the account properties.
    Possible cause: The IIS IUSR account has expired, been disabled, or has invalid or too restrictive logon hours. You may verify this information by running the net user command line for the IUSR account. (i.e.: "net user IWAMMachineName)
    Solution: Use the output to verify that the account is enabled, and logon is possible during the time of installation. Note: You can use "net user" to modify the account properties.
    Possible cause: The designated Web Site is disabled in IIS.
    Solution: Verify that the designated Web Site is enabled, and functioning properly.
    I could be completely wrong but I read somewhere that with the latest version of IIS doesn't install these user accounts. I checked to see if those accounts existed and they didn't.
    I've tried what this one website mentioned:
    http://myitforum.com...-directory.aspx
    - Remove the MP role from the Site Server. Watch the MPSetup.log to ensure that the removal is complete.
    - Uninstall the IIS component from the OS of the Site Server.
    - Reboot the Site Server.
    - Run ccmdelcert.exe from the SMS Toolkit.
    - Reinstall the IIS component (with BITS) on the OS of the Site Server.
    - Go into the IIS manager and allow WebDav.
    - Add the MP role to the Site Server. Watch the MPSetup.log to ensure that the installation completes correctly.
    These steps didn't seem to work, probably because it was for SMS 2003.
    Here is the MPmsi log file:
    <11-24-2009 17:39:28> SMSMP Setup Started....
    <11-24-2009 17:39:28> Parameters: C:\PROGRA~1\MICROS~3\bin\i386\ROLESE~1.EXE /install /siteserver:DELGADO SMSMP
    <11-24-2009 17:39:28> Installing Pre Reqs for SMSMP
    <11-24-2009 17:39:28> ======== Installing Pre Reqs for Role SMSMP ========
    <11-24-2009 17:39:28> Found 1 Pre Reqs for Role SMSMP
    <11-24-2009 17:39:28> Pre Req MSXML60 found.
    <11-24-2009 17:39:28> No versions of MSXML60 are installed. Would install new MSXML60.
    <11-24-2009 17:39:28> Enabling MSI logging. msxml6.msi will log to C:\Program Files\Microsoft Configuration Manager\logs\msxml6MSI.log
    <11-24-2009 17:39:28> Installing C:\Program Files\Microsoft Configuration Manager\bin\i386\00000409\msxml6.msi
    <11-24-2009 17:39:30> msxml6.msi exited with return code: 0
    <11-24-2009 17:39:30> msxml6.msi Installation was successful.
    <11-24-2009 17:39:30> ======== Completed Installion of Pre Reqs for Role SMSMP ========
    <11-24-2009 17:39:30> Installing the SMSMP
    <11-24-2009 17:39:30> Passed OS version check.
    <11-24-2009 17:39:30> IIS Service is installed.
    <11-24-2009 17:39:30> checking WebDAV configuraitons
    <11-24-2009 17:39:30> WebDAV is configured
    <11-24-2009 17:39:30> No versions of SMSMP are installed. Installing new SMSMP.
    <11-24-2009 17:39:30> Enabling MSI logging. mp.msi will log to C:\Program Files\Microsoft Configuration Manager\logs\mpMSI.log
    <11-24-2009 17:39:30> Installing C:\Program Files\Microsoft Configuration Manager\bin\i386\mp.msi CCMINSTALLDIR="C:\Program Files\SMS_CCM" CCMSERVERDATAROOT="C:\Program Files\Microsoft Configuration Manager" USESMSPORTS=TRUE SMSPORTS=80 USESMSSSLPORTS=TRUE SMSSSLPORTS=443 USESMSSSL=TRUE SMSSSLSTATE=0 CCMENABLELOGGING=TRUE CCMLOGLEVEL=1 CCMLOGMAXSIZE=1000000 CCMLOGMAXHISTORY=1
    <11-24-2009 17:40:24> mp.msi exited with return code: 1603
    <11-24-2009 17:40:24> Backing up C:\Program Files\Microsoft Configuration Manager\logs\mpMSI.log to C:\Program Files\Microsoft Configuration Manager\logs\mpMSI.log.LastError
    <11-24-2009 17:40:24> Fatal MSI Error - mp.msi could not be installed. 
    Component Services (DCOMCNFG) is running properly, no error messages when I was browsing around.
    Any advice would be greatly appricated!
    Thanks!

    Just read the post below
    http://social.technet.microsoft.com/Forums/en-AU/configmgrswdist/thread/5638cdf2-09d3-4750-995e-ae60973e86b8
    <Remember to copy tasks from task scheduler to some different location because it gets wiped off in process)
    Imp. Note: Running ccmclean /all on SCCM is one of these unsupported things.
    Remove the MP as a site system role (if it is still installed), wait for it to finish
    2.       
    Remove IIS completely
    4.     
    Reboot
    5.     
    Stop the Task Scheduler Service
    6.     
    Rename the %windir%\Tasks folder to something else (or move it)
    7.     
    Start the Task Scheduler Service (this will recreate the %windir%\Tasks folder)
    8.     
    Optional: Enable auditing on the \inetpub\wwwroot folder (and subfolders). Make sure to set local security policy to trap failures of file access.  We will need this in case we see
    the same security failure.
    9.     
    Reinstall IIS, BITS, WebDAV
    10. 
    Insure BITS and WebDAV are enabled
    11. 
    Reinstall the MP
    Server Engineer

  • Solaris 8 on PC100 M7** mainboards

    Dear All
    Has anyone successfully installed Solaris 8 on a PC100 M7** mainboard?? A number of users have experienced kernel panics and BAD TRAP failures when installing with IDE devices - they can't get past the DCA part of the install.
    Any assistance would be greatly appreciated
    Simon

    I'm having problems with a PC-100 motherboard as well.
    I've installed WinNT, Win 2K, Win 9x, Linux a number of times, but I can't get the DCA floppy nor the CD install disk to boot. Or maybe it boots, but then hangs. My system has a new ASUS CUBX PC-100 motherboard (OK -- apparently not on the HCL...).
    David

  • Error (STU00104) while installing BOE XI 3.1 SP4

    Hi All,
    I am installing BOE XI 3.1 SP4 on a host which is already running the BI7 system
    DB: Oracle 10.2.0.4
    What i am trying to do is that i want to use the same existing DB of BI, so for that i have created a Tblspace for BO: PSAPBO1
    and then created schemas for Repository DB and Audit DB in the existing DB.
    Now, i started the installation by using same BI application admin user and it went till phase "Enter the information for new CMS" where it ask Oracle TNSNAME , username to connect to DB
    I gave TNSNAME with absolute path and tried both users tbiadm and oratbi but it failed every time with an error.....
    " Failure to validate the database credential has a potential to crash the database at a later stage. Enter the correct information. (STU00104) "
    BOE is 32 bit but Db is 64 bit....
    kindly suggest what needs to be done and what is that i am doing wrong.......
    regards
    S........

    Hi,
    check SAP Note - 1298935
    Two other things...SAP does not recommend installing BOE on the same Host as your BI System. A seperate Host is recommended for BOE.
    Its. nor a problem having the DB running on a 64Bit Arch. while the BOE Arch. is 32Bit.
    Regards
    -Seb.

  • Help! about SQL Replication component

    We have a SQL2005(x64) Cluster, it is SAP's DB.
    the replication component not be installed at first.
    but now, we want to use SQL replication function to publish some table to a middle database..
    the SQL2005 cluster parameter
         VS=SQLTEST
        Node1=SQLTEST1
        Node2=SQLTEST2
    I see from SQL online help, I only can use command prompt to add or remove SQL component in cluster.
    so I run the command:
        start /wait <file paths>\setup.exe /qb VS=SQLTEST INSTALLVS=SQL_Engine INSTANCENAME=MSSQLSERVER ADDLOCAL=SQL_Replication ADDNODE=n
    End,the installation process failure!
    Message Display:
    SQL Server Setup is unable to run.  Either the owning node or all nodes that
    are currently part of the virtual server are not available.  Review any SCC
    failures and validate that all nodes are online.
    the setup log
    Setup Consistency Check Report for Machine: SQLTEST2
    Article: WMI Service Requirement, Result: CheckPassed
    Article: MSXML Requirement, Result: CheckPassed
    Article: Operating System Minimum Level Requirement, Result: CheckPassed
    Article: Operating System Service Pack Level Requirement, Result: CheckPassed
    Article: SQL Compatibility With Operating System, Result: CheckPassed
    Article: Minimum Hardware Requirement, Result: CheckPassed
    Article: IIS Feature Requirement, Result: Warning
    Description: IIS is not installed, therefore Report Server feature will be disabled Action: Install IIS in order for Report Server feature to be enabled
    Article: Pending Reboot Requirement, Result: CheckPassed
    Article: Performance Monitor Counter Requirement, Result: CheckPassed
    Article: Default Installation Path Permission Requirement, Result: CheckPassed
    Article: Internet Explorer Requirement, Result: CheckPassed
    Article: Check COM+ Catalogue, Result: CheckPassed
    Article: ASP.Net Registration Requirement, Result: Warning
    Description: Required version of ASP.NET not Registered Action: Microsoft Reporting Services 2005(32-bit) requires 32-bit ASP.Net registered. Microsoft Reporting Services 2005(64-bit) requires 64-bit ASP.Net registered. Install the required version of ASP.Net.
    Article: Minimum MDAC Version Requirement, Result: CheckPassed
    Setup Consistency Check Report for Machine: SQLTEST1
    Article: WMI Service Requirement, Result: CheckPassed
    Article: MSXML Requirement, Result: CheckPassed
    Article: Operating System Minimum Level Requirement, Result: CheckPassed
    Article: Operating System Service Pack Level Requirement, Result: CheckPassed
    Article: SQL Compatibility With Operating System, Result: CheckPassed
    Article: Minimum Hardware Requirement, Result: CheckPassed
    Article: IIS Feature Requirement, Result: Warning
    Description: IIS is not installed, therefore Report Server feature will be disabled Action: Install IIS in order for Report Server feature to be enabled
    Article: Administrative Shares Requirement, Result: CheckPassed
    Article: Pending Reboot Requirement, Result: CheckPassed
    Article: Performance Monitor Counter Requirement, Result: CheckPassed
    Article: Default Installation Path Permission Requirement, Result: CheckPassed
    Article: Internet Explorer Requirement, Result: CheckPassed
    Article: Check COM+ Catalogue, Result: CheckPassed
    Article: ASP.Net Registration Requirement, Result: CheckPassed
    Article: Minimum MDAC Version Requirement, Result: CheckPassed
    The CheckSCCResult returned for cluster install is 0
    Loaded DLL:C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\sqlsval.dll Version:2005.90.1399.0
    Error: Action "InvokeSqlSetupDllAction" threw an exception during execution.
    Return Code: 1119d
    Message displayed to user
            SQL Server Setup is unable to run.  Either the owning node or all nodes that are currently part of the virtual server are not available.  Review any SCC failures and validate that all nodes are online.
    in the log, we can see all nodes is be check SCC, find some SCC warning(such
    as IIS and ASP.NET). installation be terminated in this step.
    I know SQL replication function is not support by SAP official.
    but I want to try it.
    has somebody success add replication component in SQL Cluster?
    PLS give me some suggestion about it.
    THK.

    Can you tell me what the replication component has to do w/ MSCS?  I think that it can be configured even without MSCS right?  Basically, you want to replicate a specific group of tables to a 3rd DB?

  • Commit causing other form to fail

    I have an app that runs on forms 6i. The app is made up of multiple forms, all of which can be opened using open form (or go form if the form is already open).
    The forms are not table based. i.e. they are coded so that triggers fire to ensure users have entered values etc.
    The forms are causing problems as one has a commit in it but this is causing a when-validate-item to fire in another. As the error does not concern the screen they are on it is making the user think what they have done has saved when in fact it hasn't.
    Do you know if there is anyway of coping with this scenario.
    Thanks
    Bryan

    > Do you know if there is anyway of coping with this scenario.
    Try doing this everywhere immediately before you do an Open_Form or Go_Form:
      Validate(Form_Scope);
      If not form_success then
        Raise Form_trigger_failure;
      End if;
    > Ours are not as then they can be a lot more user friendly. Just means you have
    to do your own inserts etc in the triggers and then do a commit.
    So you are NOT using the default block processing that Forms automatically gives you when you create a base-table block? If you are not, and instead are displaying data using select statements rather than Execute_Query... then I think you are doing things the hard way.   ...Mercy!

  • Error during early phase of installation

    Hello,
    I am facing an error during an installation. Our setup is as follows:
    empty Oracle 10.2.0.2 Database on HPUX
    Installation of BO Enterprise Server on Linux
    To meet expected performance issues and ressource consumption it should be a distributed installation.
    When I start the installation script I can enter some values. After adding the database parameters I am getting this error:
    Failure to validate the database credential has a potential to crash the database at a later stage. Enter the correct information. (STU00104)
    The error log in the installation directory is not very helpful:
    BusinessObjects Enterprise CMS: Unable to connect to the CMS system database ""B01"". Reason: ?Tj?A
    Has anyone had an error like this? Do you know whether there are other logfiles that can be forced to show up somehow?
    Thanks for hints or ideas,
    André

    Problem solved: The error has been caused by wrong versions of some database client libraries. Unfortunaly I was not able to find some helpful log entries so it has been a fluke...
    Best regards
    André

  • Error STU00104 when installing BO XI 3.1

    Hi all,
    I am installing BO XI 3.1 on AIX 5.3 64bit server.
    I had already installed Oracle 10.2g database on Windows 32 bit.
    I have installed instant client 32 bit on AIX: Basic and SQLPlus . And successfully connect to Oracle DB by SQLPlus.
    I have defined the LD_LIBRARY_PATH, ORACLE_HOME and PATH, also show this error "Failure to validate the database credential has a potential to crash the database at a later stage. Enter the correct information. (STU00104)"
    anybody help me please!!!

    I'm going to post how this was resloved for Linux SLES 11 SP1 x64 as well as x86
    I had installed Oracle client 11.2 x64 and x86 as well as 10.2 x86. Both oracle clients were administrator Installations
    The issue was in fact caused by the missing Lib path LD_LIBRARY_PATH and permissions for oracle Libs under the $ORACLE_HOME/lib folder (depending on the oracle client).
    In SLES 11 after installing oracle client with the user "oracle", you can tnsping or use sqlplus verify the oracle database you want to use for the installation is reachable. Very stright forward up to this point. Howerver when you cat the /etc/profile.d/oracle.sh file you'll see that the path LD_LIBRARY_PATH only exports for the user "oracle".
    So my first attempt was using SLES 11 x64 and Oracle Client 11.2 x64. First I created another user called "sapusr" for the purpose of installing the software. Because I used the "sapuser" user account paths like LD_LIBRARY_PATH was never set. So when I tried to install the software I got the STU00104 error. After some research I tried to manually set LD_LIBRARY_PATH to $ORACLE_HOME/lib32 then tried the installation once more and still got STU00104. After some more research I found that the acutal LD_LIBRARY_PATH exported by oracle should be $ORACLE_HOME/lib:$ORACLE_HOME/ctx/lib. So, long story short I modified the /etc/profile.d/oracle.sh file and commented out the if statement that caused the path to be exported for "oracle" user only. After this the installation worked for SLES11 x64 with Oracle Client 11.2x64.
    Please note if you're using Oracle client 10.2 x86 then there's an extra step you may need to do. After installing oracle client, do a "ls -l" command under the folder $ORACLE_HOME/lib. You may see some lib files have the permission "rw-r--" compared with Oracle Client 11.2 "-rwxr-xr-x-. So, If you're using "sapusr" to install Cystal Server 2008, you may not have permissions to any of the the oracle lib files, if this is the case then it may not matter if the LD_LIBRARY_PATH is set correctly or not as it will probably lead to STU00104 anyways.
    So my lesson in this was make sure LD_LIBRARY_PATH and other paths was set properly according to the /etc/profile.d/oracle.sh file and make sure the installation user account "sapusr" or "bobje" have permissions of oracle lib files under $ORACLE_HOME/lib.
    Hopefully my findings will help you getting through the installation.
    Edited by: YanXue on Jun 1, 2011 11:44 PM
    Edited by: YanXue on Jun 1, 2011 11:48 PM

  • Trigger Firing Sequence?

    Hei Guys
    I have a form where I have a date and time field(text fields). I have a OK/SAVE button, which is subclassed, and executes do_key(commit_form), which in turn executes form level key-commit trigger. On the key-commit trigger, I have some program units, which basically validate the form, and then commit the form.
    On the time field, if I change the time(which the system calculated when I hit a button), I do some validation in the when-validate-item of the field.
    The code in the time text-fields, when-validate-item is as follows.
    fp_check_time(:BL_COMPLAINT.APPT_TIME);
    declare
         lnu_error number;
         alrt_id alert := find_alert('AL_CONFIRM');
         some_number number;
    begin
         --some_number := fpkg_error_handler.fp_message('UEM','0000','ERROR','@when-validate APPT_TIME');
         --set_item_property('bl_ok_cancel.pb_ok', enabled, property_true);     
         if :BL_COMPLAINT.APPT_time <> nvl(:parameter.APPT_TIME, '*')     then
    set_alert_property(alrt_id, alert_message_text, 'You have changed the system recommended date. This could lead to double booking. Do you want to continue ?');
    if show_alert(alrt_id) = ALERT_BUTTON1 then
    if spkg_med_schedule.sf_chk_valid_datetime
              (:BL_COMPLAINT.SICK_CALL_SERVICE_GROUP,
    '1',--check nurse
    :parameter.p_clinic,
    :BL_COMPLAINT.APPT_DATE,
    :BL_COMPLAINT.APPT_time) = 'N' THEN
         lnu_error := FPKG_ERROR_HANDLER.FP_MESSAGE('UEM','0000','ERROR','The date/time you have selected is not valid. Please change the date/time.');
         :BL_COMPLAINT.APPT_TIME := :parameter.APPT_TIME;
         --set_item_property('bl_ok_cancel.pb_ok', enabled, property_false);
          raise form_trigger_failure;
    end if;
    else
              some_number := fpkg_error_handler.fp_message('UEM','0000','ERROR','@when-vaidate APPT_TIME not ab1');          
         :BL_COMPLAINT.APPT_TIME := :parameter.APPT_TIME;
    --     :parameter.error_occur := 'TRUE';
         --set_item_property('bl_ok_cancel.pb_ok', enabled, property_false);
         raise form_trigger_failure;      end if;
    end if;     
    end;
    I have this code even in the date field. which is also a text item.
    I am hoping you might have noticed, a couple of Raise form_trigger_failure in the code. But, the processing, does not stop there and continues processing and tries to commit the form.
    [b1.]Why does that happen?

    > continues processing and tries to commit the form
    It would help if you would describe what you mean by "tries to commit". What does the form do?
    The first thing you need to do in your commit processing sequence is:
      Validate(form_scope);
      If not form_success then
        Raise form_trigger_failure;
      End if;The above code will stop the commit if an edit error occurs. If you don't validate and check for success, commit processing continues, and you will probably get multiple error messages popping up before the commit process finally stops.

Maybe you are looking for