By Richard Rost 6 months ago
Proper Use of Cascade Delete in Microsoft Access
Today, we're going to talk about Cascade Deletes in Microsoft Access. They're very dangerous, but they can also be very powerful. But of course, remember, with great power comes great responsibility. So we're going to talk about that in today's video.
Ava from Tempe, Arizona (a Platinum Member) asks: In your video about referential integrity, you said that Cascade Deletes are dangerous and that I should avoid them. Can you explain what they are a little more and when I should and should not use them? Are they really that dangerous?
Members will learn how to create a button that will execute some SQL to manually delete an order and its details, without using Cascade Deletes. This method will work across linked tables and allows you to delete exactly what you want. We can also incorporate safeguards, such as verifying that the order isn't paid before we delete it and prompting the user to confirm if they are certain about the deletion.
Silver Members and up get access to view Extended Cut videos, when available. Gold Members can download the database template from class plus get access to the Code Vault. If you signed up on YouTube you have to register on my YouTube Find User page so I can set up your account here on my web site. If you're not a member, Join Today!
access 2016, access 2019, access 2021, access 365, microsoft access, ms access, ms access tutorial, #msaccess, #microsoftaccess, #help, #howto, #tutorial, #learn, #lesson, #training, #database, Cascade Deletes, Data Integrity, Database Relationships, Cascade Operations, Deleting Records in Access, Access Cascade Deletes Tutorial, Database Maintenance, MS Access Training.
Subscribe to Cascade Delete
Get notifications when this page is updated