Can't delete master record when matching when matching detail record exist

Hi
on the rel. property:
Delete Record Behaviour = cascading
Prevent masterless Operation =yes
Automatic Query = yesCan't delete Record Master & Detail...
On delete getting error msg.
Can't delete master record when matching when matching detail record exist
am i missing something...!
Regards,
Abdetu...

First of all, remember the ripple affect of cascading deletes and updates.
Oracle database allows creating master/detail relationship between tables using foreign keys and allows cascading deletes by defining the FOREIGN KEY constraint with ON DELETE CASCADE clause.
Oracle Forms on the other hand, handle cascade delete thing internally when you set the relation properties.
Now if you have 3 tables with MASTER->DETAIL1->DETAIL2 relationship and you have a form defined with MASTER->DETAIL1 relationship only, it won't let you delete (and save) master or detail record since the third table (DETAIL2) is referencing the rows from DETAIL1 which you are trying to delete.
If DETAIL2 were present on the form, it would have deleted with relation property CASCADING. If you really want that when you delete a master record, all its details should be deleted too, then consider defining FOREIGN KEY constraints with ON DELETE CASCADE and on the form set relation property CASCADING.
And if all master/detail tables are on your form and still it is not allowing you to delete master with cascading, there must be some code preventing it. Check triggers like ON-DELETE, KEY-COMMIT etc what they are doing.

Similar Messages

  • How can I delete single Songs in Iphone4 when my itunesMatch is enabled

    How can I delete single Songs in Iphone4 when my itunesMatch is enabled?

    If you have iTunes Match enabled under iOS 6, you cannot delete albums are songs off the device one at a time.  Apple changed the whole way iTunes Match functioned from iOS 5.
    As I stated earlier:
    1) Disable iTunes Match and turn it back on to delete everything.
    2) Leave iTunes Match on but go into settings, usage, and then delete all the music that way.
    3) Turn iTunes Match off and then you can delete songs or albums one at a time; however, once you turn it back on it deletes everything anyway.

  • How can I delete facebook account in settings when I don't have password  and can't retreive it  pressing delet without entering password does nothing

    How can I delete facebook account in settings when I don't have password and can't reset it as not receiving reset email from facebook pressing delete without password does nothing.

    Go to https//appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Tap edit next to the primary email account, tap Edit, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address (you shouldn't need to verify the old account).  You can now use your current password to turn off Find My iPhone on your device, even though it prompts you for the password for your old account ID. Then go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https//appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • How can I delete a song from iCloud / iTunes Match, but keep it on my Mac?

    How can I delete a song from iCloud / iTunes Match, but keep it on my Mac?
    I subscribed to iTunes Match a few weeks ago and my entire library was uploaded.  I do not want all of my library in the Cloud, especially given that there is a space/song limitation.  Any help is appreciated.
    Thanks!

    Apologies Brandon, we have moved on somewhat from your original question.
    What I have done is effectively used Michael's idea. I'll try to explain a little further.
    You can run iTunes match on up to 5 computers, and you can edit the iCloud library on any of them. Michael's idea works on the basis that, whilst you can edit the iTunes library, you can't remove songs from other computers.
    I have basically the same setup as you, but I also have a MacBook Air, which is running iTunes Match but without any music downloaded so it all streams.
    I added the songs on my main library, which then added them to the cloud. When they appeared on my MacBook I deleted them straight away. As there was no local copy I was asked if I wanted to delete them from the cloud, and I said yes. When I went back to my main computer I found that, as expected, they were still there, but the iCloud status is "removed". They are therefore on my library but not in iCloud.
    Since then I have run match updates a couple of times and there is no sign as yet that it will try to add them back to the cloud. It's too early to say that this is a definate answer to your problem, but it looks very hopeful.
    Our other discussions have moved onto the 25,000 son limit, which I note from your comment you may also be interested in. Watch this space.
    If you don't have access to a second computer to run the other library on then look back at Michael's post where he explains how to set it up on your main computer.
    Hope that clarifies a bit.

  • How can I delete backups in iCloud from iPhone that no longer exists?

    how can I delete backups in iCloud from iPhone that no longer exists?

    I have the same question
    Seems like there is a commercial motive in Apple not facilitating restore and delete information on Icloud
    Apple, please be client friendly as with your products or else..

  • Can't delete items in "Send" folder when iCloud account disabled.

    I'm trying to simplify my email by using gmail as my one account through which all e-mails are directed.
    I am using Apple Mail, latest version.
    I've managed to find out how to do almost everything, so that all e-mails come in through my gmail account, and I can send using multiple accounts.
    But, when I try to disable my iCloud account, I can no longer delete e-mails in the "Sent" box, even if the sent items were from my other accounts. I click on 'delete', and all that happens is that the email header changes to grey. If I 'right-click", then I have the option to 'undelete', which turns the header back to black.
    If I re-enable iCloud, then I can delete the e-mails, but once I disable iCloud email, then the most recently deleted sent items are back again.
    The other thing I notice is that when iCloud is disabled, there is no 'Trash' folder in my email programe.
    Any ideas?
    Thank you.

    No, the only workaround is to remove all icons using a terminal command and to re-add all that you want by dragging them onto LaunchPad.
    http://gnuu.org/2011/07/21/clearing-launchpad-and-other-osx-lion-tips/

  • Can I delete previous Adobe Reader downloads when a new has been updated.

    Can I delete prvious downloads of Adobe Reader as my computer is so slow.

    As I understand things, if you uninstall previous versions of Reader in Windows, you can ruin the remaining one(s). I would suggest removing all versions of Reader and then doing a fresh install of the version you want to keep. But I have my doubts that having several versions of Reader can slow your computer very much.

  • My Firefox crashes and freezes quite a bit. Can I delete the previous Firefox downloads when I update to a newer version?

    I have the latest version of Firefox and it freezes and crashes. I was wondering if the other versions of Firefox I have downloaded is causing this. Can I delete the previous versions without affecting the current one?

    Your plugins list shows outdated plugin(s) with known security and stability risks.
    * Shockwave Flash 10.1 r53
    * Next Generation Java Plug-in 1.6.0_17 for Mozilla browsers
    Update the [[Java]] plugin to the latest version.
    *http://java.sun.com/javase/downloads/index.jsp (Java Platform: Download JRE)
    Update the [[Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/

  • Can Not Delete Master data 0Material

    Hi Gurus:
                 I need to get rid of Leading Zeros for Material Number. My understanding is I need to do ALPHA conversion.
    I did the follwing Steps:
    1. Delete data from ODS
    2. Delete Data from Master Data 0MATRIAL.
    Although I deleted data from ODS, still when I try to delete data from 0MATERIAL it is giving me some error saying there will be still some data left.
    3. I went to RSD1 and tried to do ALPHA conversion. I m getting following errors:
      Master Data Table /BIO/PMATERIAL conatins data: Characteristc 0MATERIAL  can not be activated
    SID Data Table /BIO/SMATERIAL conatins data: Characteristc 0MATERIAL can not be activated
    Test Data Table /BIO/TMATERIAL conatins data: Characteristc 0MATERIAL can not be activated.
    Suggest me what I need to do.
    Thanks in advance for your help!

    I did the follwing for 0MATERIAL. But getting errors.
    fill the internal table "MONITOR", to make monitor entries
    CALL FUNCTION "CONVERSION_EXIT_ALPHA_OUTPUT".
    EXPORTING INPUT = COMM_STRUCTURE-/BI0/0MATERIAL.
    IMPORTING OUPUT = RESULT.
    RETURNCODE = 0.
    result value of the routine
    RESULT = .
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    $$ end of routine - insert your code only before this line         -
    This is the error I am getting:
    E:Field "EXPORTING" is unknown. It is neither in one of the specified
    tables nor defined by a "DATA" statement.
    Thanks!

  • Can't delete master spread

    Dear All,
    I'm trying to delete a master page but the option DELETE MASTER SPREAD is greyed out.  It is not in use on any page, but still won't let me delete -- any idea why?
    InDesign CC seems to be very quirky!
    Small Town Gal

    If you only have two master pages, that is [none] and A-master,  and you did not use the A-master for some reason, you only use the [none] then you have no option to delete any of those master pages.
    However if you have too many master pages, try to double check if you really did not use a particular master page by going to flyout of Pages -> Master Pages -> Select Unused Masters
    After that go back to Pages -> then Delete Master Pages.
    Hope it helps.

  • How can I delete bookmarks on my toolbar when the 'bluestar' isn't illuminated? (Same for the 'delete' button in the library menu).

    Dear Sir/Madam
    I have had a look at your solutions page and have tried to use all the advice suggested however, when I try to delete three items on by Toolbar, none of them illuminate the 'BlueStar' which is beside their address. (I have successfully got rid of other items). I have also tried to delete the items in Firefox's library menu, however, the delete button their isn't illuminated either. I am now concerned that the items are spyware. I was thinking of reinstalling the software but, this would mean loosing all my Bookmarks.
    For your information, I have just updated Firefox to 28.0.
    I would appreciate your help with this matter.
    Kind regards
    Suzanne

    Dear sludge7051-x
    Thank you so much for all your help.
    I did as you said (after trying to find a very old mouse in my computer box in the attic!), and managed to delete the offending tags.
    Really appreciate your prompt response to my problem.
    Have a lovely weekend.
    Kind regards

  • How can i delete my old iCloud id when my old apple id no longer works?

    I am helping my grandmother set up an apple ipad. i need to fix her iphone because we had changed her id to match with her current email address because the old one doesn't work anymore. What do i need to do to get the old icloud off her phone so that i can put the other one on? Withought having to use her old unusable apple id?
    allene2406

    Did you update your Apple ID, or did you create a new one? To change the Apple ID signed in on the phone, see this support document. http://support.apple.com/kb/HT1311
    If you purchased apps under the old ID, they are forever locked to that ID. You will need that information to update the apps, or you will need to delete them and redownload them.

  • How can I delete emails that only appear when I do a spotlight search?

    I have a number of emails that are only locatable through a spotlight search which I am unable to delete. They all appear to be unread, although they were read. The only options I have when I bring them up are to "Cancel" or "Send". Choosing "Cancel" brings me to whichever email account I was most recently using. Hitting "Send" does, indeed, send them, but makes them no easier to delete.

    The only way to delete them from the Spotlight cache is to totally restore your iPad as new.
    Those emails will not show up in the mail app if you tap on then in the spotlight search. They have been removed from the device and will not reopen in the mail app.

  • TS3899 After switching to ios7, there are some emails I can not delete or even open. When I try, mail app shuts Down.

    Certain emails won't open nor be deleted from inbox. Shuts down mail app. Started when updated to IOS7.

    Hi gadgetchief,
    Thanks for using Apple Support Communities.  I would recommend first trying these steps:
    iPhone, iPad, iPod touch: Turning off and on (restarting) and resetting
    http://support.apple.com/kb/HT1430
    If the issue continues after that, some of these steps may help:
    iOS: Troubleshooting Mail
    http://support.apple.com/kb/ts3899
    Delete the affected email account from your device.
    Tap Settings > Mail, Contacts, Calendars.
    Choose the affected email account, then tap Delete Account.
    Add your account again.
    Cheers,
    - Ari

  • How can I delete duplicated Icons in Lauchpad when it does not have the "X"?

    When I go to Lauchpadd it looks duplicated but in Finder it does not.  Safary, Ichat, Dictionary, Etc.. are duplicated.

    '''Show All Bookmarks'''

Maybe you are looking for

  • Null Pointer exception in Business Service

    I am using BS confiured to accept a mfl request. I have a proxy which receives a string request confiured. I am doing string-mfl conversion using xqueries and am calling the BS. I am getting the following exception. ####<22/10/2007 12:03:47 PM EST> <

  • Konita minota bizhub c451 not printing with SL

    I just bought a new Mac and install Snow leopard. I install the 10.5 print driverfor the Konica Minolta bizhub c451. When printing from any application it crashes. Does any one have any idea on how to resolve this issue.

  • Link objects in reports visible without permission

    I am creating reports that have links to forms. I wish these links to be disabled when someone is not provided permissions to the link or to the resulting form. I have created link objects and set the permissions for public to not have access, but th

  • System privilege

    Would s.b. tell me all the system privileges please? I will have a lesson about them,but I can't get the information. Thanks.

  • Macbook Pro Retina, 15-inch, Late 2013 temperature at 96C

    I've had my MBP for about 3 months and I've notices some heat problems to the point where it's really hot to touch above the top keys, in fact right now it could burn my finger if i held it there. It says the temp is 96C. The fans were not going abov