3 hours ago: Our file storage provider is running maintenance today. If any videos don't load, wait a minute, refresh the page, and try again. Sorry for any inconvenience.  Dismiss
 
Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   Index   Templates   Seminars   TechHelp   Forums   Help   Contact   Join   Order   Logon  
 
Home > Courses > Access > Expert > X02 > < X01 | X03 >
Back to Access Expert 2    Comments List
Cascade Delete Upload Images   Link   Email  
Michael Olsen          
8 months ago
Seeking clarification (MS Help is vague on this):

If I have a table <Personnel> and it is related to <table1>, <table2>, and <table3>.  Can I have Cascade Delete with <table2> only, or will it affect <table1> and <table3> as well?
Adam Schwanz             
8 months ago
Do table 1 and table 3 have referential integrity on?
Michael Olsen          
8 months ago
Yes
Adam Schwanz             
8 months ago
You won't be able to delete records if there is a joined record in the other tables then.
Michael Olsen          
8 months ago
So a cascade delete in a single relationship affects all networked relationship with referential integrity.  Not just the two tables in the immediate relationship?
Adam Schwanz             
8 months ago
If referential integrity is on, you won't be able to delete a record from Personnel if there is a related record in any of the tables that have a relationship with it with referential integrity. You'd have to delete the records from Table1,2, and 3, and then delete the record in Personnel. If you try to delete a record in Personnel you should get an error about related records existing in another table. If there is no joined record in table 1 and table 3, the delete will probably work with just table 2.
Scott Axton            
8 months ago
Cascade deletes are very dangerous IMHO.  I NEVER use them and only delete sparingly and very intentionally.

Before you get too far down the road you might want to check out the Don't Delete Data video.
In conjunction with that how to Archive Records when you need that space back.

In addition, they won't work in a split database when and if your db becomes large enough.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Expert 2.
 

 
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2024 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 7/14/2024 9:33:34 AM. PLT: 1s