Delete - what triggers the validation

Hello

I need to perform validation when a user tries to delete a record via the "delete record" button on the standard toolbar. If the validation fails, then I need to give an appropriate message to the user and prevent them from removing the folder.

Should what trigger I use for this?

Thank you, Mark

You are welcome!

Can take you some time and take a look at the * [Forums label | http://forums.oracle.com/forums/ann.jspa?annID=719] *.

Concerning

Tags: Oracle Development

Similar Questions

  • Why it triggers the validation of the obligation when rows are deleted?

    Hello


    My standard Page, Modal I do my secondary Page. I have a grid in my subpage. Record of grid has some
    Required fields. I also have a box in my secondary page, when this box is checked, my grid will be hidden and lines
    be deleted.


    WE CHANGE THE CHECKBOX FIELD:

    & myRowset = GetRowset (Scroll.MY_GRIDRECORD);


    If MY_RECORD. CHECK_BOX_FIELD = 'Y' Then
    GROUPBOX. Visible = False;
    I = 1 & at & myRowset.ActiveRowCount
    & myRowset.DeleteRow (1);
    -End;
    & myRowset.HideAllRows ();
    On the other

    GROUPBOX. Visible = True;
    & myRowset.ShowAllRows ();
    End - If;



    WE CHANGE THE SCOPE OF MY OK BUTTON:

    & myRowset = GetRowset (Scroll.MY_GRIDRECORD);


    If MY_RECORD. CHECK_BOX_FIELD = 'Y' Then
    I = 1 & at & myRowset.ActiveRowCount
    & myRowset.DeleteRow (1);

    -End;
    End - If;

    EndModal (1);


    Be default checkbox is not checked, and I press OK, it saves even there is no row in my grid but
    Whenever I checked or not checked the checkbox, then press OK.

    Error comes:
    The highlighted area is required. You must enter a value for it before you continue. (15,54)

    The specified field is required, but has no value.

    My question is, I am remove the record grid OK lines as well as the change of field checkbox if the box is checked then why it triggers the validation of the requirement?

    That shouldn't be the case. You could try to encode like this; where you only use the DeleteRow when you press the OK button and not when you press the checkbox. Be sure to include the step - 1, otherwise it will fail anyway.

    ON FIELD CHANGE OF CHECK BOX :
    
    If MY_RECORD.CHECK_BOX_FIELD = "Y" Then
    GROUPBOX.Visible = False;
    &myRowset.HideAllRows();
    Else
    GROUPBOX.Visible = True;
    &myRowset.ShowAllRows();
    End-If;
    
    ON FIELD CHANGE OF MY OK BUTTON :
    
    &myRowset = GetRowset(Scroll.MY_GRIDRECORD);
    If MY_RECORD.CHECK_BOX_FIELD = "Y" Then
    For &i = &myRowset.ActiveRowCount to 1 Step -1
    &myRowset.DeleteRow(&i);
    End-For;
    End-If;
    
    /* Save and do further processing */
    
  • What triggers the follow-up of health?

    I'm having a hard time to find out what is triggering the alert.

    vcenter alert.jpg

    First I thought that it was because one of my esxi has not shown his material status but I have corrected this error and still I get the alert.

    does anyone have an idea what might trigger the alert

    I found this in the log:

    Event ID 2527 - Configuration of the Directory Server Service account is not in a position

    Pourriez - me what the alert?

    I got the error because I installed a new vcenter but had no installed converter it gave an error

    When I installed the component issue has been resolved

    Thanks for you comments

  • What triggers the CMS in ATGProduction and ATGStaging?

    I've been troubleshooting an issue that had our cluster of misconfigured ATGProduction such that CatalogMaintenanceHelper was not active = true on any server in the cluster. Correction of the problem was fairly easy, but now I have to try to figure out how to test the fix. I was under the impression that, at the end of each deployment of the CCI of ATGPublishing project, CMS running on one of the machines in the target cluster. Appears not to be the case (or I'm not in the right place). How can I confirm that my landline works and CMS works correctly in ATGStage and ATGProduction?

    As always, any help or ideas are greatly appreciated.

    Published by: robertkuhar on April 18, 2012 12:20

    Check this thread:
    Maintanance service catalog

    Check this part into dyn/admin/atg/epub/DeploymentAgent /? propertyName = deploymentEventListeners
    There should be CatalogMaintenanceHelper configured listener that triggers the CMS.

  • What are the valid software causes of failure "Genuine software" test

    Running Vista pre installed on the HP laptop.   Have happened 'goes; idation' many times and now does not

    With regard to the problem of GenuineCheck - a solution has been found (not a simple one, unfortuunately...

    For reference, the problem has been isolated by a poster of the forum in the Forums of WGA XP...
    Here is the original post...
    Cannot install the update - Windows Genuine Advantage Validation Tool (KB2732487, KB2729094, KB2647753, KB2732500)
    and here are the tips paraphrased as a reminder in the three main forums WGA
    Validation of Microsoft problems downloading - GenuineCheck errors
    Validation of Microsoft problems downloading - GenuineCheck errors
    Validation of Microsoft problems downloading - GenuineCheck errors

  • What are the valid "sources" to end reports 11.1.2?

    Hello

    Have a client who wants to report using fin reports 11.1.2. It wants to connect to a schema data warehouse Oracle or SQL Server and then connect to Essbase/Planning cube as well as in the planning of the relational tables to report on support of detail etc.. I don't think that EN may connect to other relational source as HFM and detailed planning. Is this correct? Or can it connect to an Oracle/SQL Server database and report that too. I thought that interactive Reporting (Brio) is the tool for this.

    Please notify.

    Hello

    Here is the complete list: http://download.oracle.com/docs/cd/E12825_01/epm.111/bpmui_user/database_manager_fr.html

    See you soon,.
    Mehmet

  • What is the format of email address valid in IOM

    Hello

    When I try to edit an e-mail address of the user to the IOM, I get the error message below.

    oracle.iam.platform.kernel.ValidationFailedException: IAM-3050068: the [email protected] value for the Email attribute is not valid. Enter a valid value for the attribute Email.:Email:[email protected]

    e-mail address is in valid format, but could not understand what causes this error?

    What is the valid format for email in IOM

    Thank you

    I think that its only accepts no not because of energy.

    Updated the expression of {2,4} to {2,8}, restart and check.

    ~ J

  • How do the validation button enabled

    I use Jdevt 11 g & ADF bc. I add an af:table edit on my page, I've added oeration "CreateInsert" & "Delete" like buttons to create and remove, I have also put in place the property attribute of the table "EditingMode' as ClickToEdit. After that, I add the operation of posting AM as the Save"" button.

    When the page starts has made, the button 'validation' is sailing, and when I add a new line or delete a line, the validation button become enabled to have allowed me to save my changes. It is very good.

    But when I click on a column and change the content, the 'validation' button will always be sailing. what I can do. Thank you!

    no thing.
    fair value property autosubmit to your field to true.
    and make partial ownership of relaxation for your validation button refers to the ID of your field.

    or you can remove the condition to disable for the validation button.

  • Clear the Cache of the element after the failure of the validation

    Hi guys,.

    I have a validation of the page that is triggered when two elements (P6_LOCATOR_ID & P6_NEW_LOCATION) is equal that works OK.

    Validation in the field is the field of P6_NEW_LOCATION.

    During this validation is true, I want the validation message is displayed as it is now, but I want the P6_NEW_LOCATION be given to null or cleared the cache for this element.

    I can't run it as a page after calculations and validations process because he never gets past the validations to open. I also tried to create a process of point clear cache after you press the button that triggers the validation, but still, it does not.

    Can anyone think otherwise it's possible?

    Thank you
    Chris

    Hi Chris,

    You pass the question as bind variable rather than spend his name in your validation page.

    your code

        APEX_UTIL.SET_SESSION_STATE(:P6_NEW_LOCATION,NULL);
    

    correct code

        APEX_UTIL.SET_SESSION_STATE('P6_NEW_LOCATION',NULL);
    

    Thank you

  • Deleting Oracle triggers and I may not know what to do

    Hi guys


    I have an oracle database, which is used by many applications.

    However, Oracle indicates that its deleted certain triggers (which I did not want it) and I can't seem to find out what causing this deelteion.
    I looked in the alert logs and there is nothing mentioned at all.


    Can anyone advise me where to start looking to find this info (btw, I'm a newbie so I appologise)


    Thank you

    Create an AUDIT of your database and follow coward trigger with

    AUDIT DROP ANY TRIGGER
    

    - - - - - - - - - - - - - - - - - - - - -
    Kamran Agayev a. (10g OCP)
    http://kamranagayev.WordPress.com
    [Step by step installation Oracle Linux and automate the installation by using Shell Script | http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

  • What is the best way to consolidate e-mail messages in the e-mail program, before deleting?

    I have an iMac with a capacity to 1.11 - 679,49 GB available. With the software updated.

    Model name: I

    I have emails out of my different accounts in a "random" folder, but is not free up space. If I move an email in "Archives" and then it always remains in the e-mail account, apparently duplicate email in two places. "

    ERGO: the question is...

    What is the best way to consolidate e-mail messages in the e-mail program, before deleting?

    (I hope I've inserted which may be useful, but I'm not sure about that.)

    Thank you

    ilenefrombaltimore

    Archive messages or move them to some other local mailboxes or mailboxes on the server. Don't know what you are trying to do because it appears that you have 2/3 of your hard disk.

    Why do you think archiving emails in 2 places? Where are you trying to save space to?

  • What is the best way to retrieve deleted mp3 files? I am running OSX Leopard 10.5.8 on a PowerPC G5 tower. I'll be very grateful for any help in this matter. Thanks to Chris

    Hello

    What is the best way to retrieve deleted mp3 files? I had a lapse of attention and I deleted a folder containing most of my music files. It is for the most part, the mp3 but there was regular audio files and some wav files in there also. I am running OSX Leopard 10.5.8 on a PowerPC G5 tower. I have another PPC machine to help the recovery, if I need, but at the moment, he is not appearing on my network (3 computers). I'm trying to change this soon. I'll be really grateful for any help in this matter.

    Thanks to Chris

    If you emptied the Recycle Bin after you move the folder to the trash, and you don't have a time Machine or another backup, then it is lost, sorry.

  • What is the difference (if any) between iPhoto and iPhoto library? I managed to delete my pictures in freeing up space, but have a backup available. Do I have to download these two files in the pictures folder is one duplicate of the other?

    What is the difference (if any) between iPhoto and iPhoto library? I managed to delete my pictures in freeing up space, but have a backup available. I need to restore these two files in the folder images or one is one duplicate of the other?

    I use a MacBook Air 2013 model with a backup on a WD MyBook Duo disc for storage wireless as the Apple Time Machine.

    The Photos and the iPhoto library are totally separated - neither one is connected to the other somehow--you want to restore the library you need

    LN

  • What is the meaning of "some elements will also be deleted 2 albums".

    I am about to delete some pictures of my iPad because I transferred to my computer and do not need copies of the photos.  When I select the photos on my iPad and then click on delete, I get the message "some items will also be deleted in 2 albums."  What does that mean?

    The albums that you create on the device do not really contain copies of the photos. These albums just contain pointers to pictures that allow them to appear in the albums you have created. The message means exactly what he says. If you delete photos from the film, they will be deleted albums form the two that you 'placed' in.

  • What is the file deleted the files in the main folder, and can / should I remove it?

    What is the file deleted the files in the main folder, and can / should I remove it? Is it too much room, I could use?

    This file stores a list of files from previous version of Firefox that are no longer needed or supported in the current version of Firefox. This file is only a few KB and it is best not to delete files in the Firefox program folder to avoid update problems. If the required files are missing or modified with a update Firefox will download the full version (approximately 10 MB) instead of a small incremental update which is usually only a few hundred KB.

Maybe you are looking for

  • Satellite L350D and overheating

    I got my satellite since February this year, but has recently removed a Trojan horse for the laptop and having to reset the entire system, now the laptop works properly, but it tends to get very hot very quickly and turned out just on rare occasions.

  • Apple has placed a lock on the iphone

    I upgraded my iPhone to 5 c to 6 s more.  I want to sell my old phone and asked if it's unlocked.  I don't know which apply to unlocked do or will have the correct code to do

  • no cable hdmi not sound on new g6 1133 windows 7

    I have a new hp g6 1133, no sound on the tv when using the hdmi cable, should be already up to date. TV is good, any help welcome

  • Windows 7: Windows Desktop Search 4, manipulation of ZIP files

    Hello team Windows, WDS 4.0 does not index the content of ZIP files (files in ZIP file). I can't find the name of the files in the ZIP file, or content. Isn't implemented yet or to I need to activate this option somewhere? Thank youWolfixx

  • Loss of quality in Lightroom on export of raw to JPEG

    I know that this question has been asked several times on these forums, as well as other sites, but I have not found an answer with my situation. I spend a lot of time editing .nef (shooting with a Nikon D5300) and when I export to JPEG, I get dishes