Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Help   Contact   Merch   Join   Order   Logon   Forums   
 
Back to Access Forum    Comments List
Upload Images | @Reply | Bookmark | Link | Email | Next Unseen |
Cascade Delete after splitting
Chris Pardy 
   
4 years ago
Hello,

In my DB I have several Join tables to avoid many to many relationships.. When I set these up I turned on Cascade Delete so if the One Side is deleted it would take out the now useless records in the join table. However now that I'm nearing completion, I realize I will need to split this file and run it from a networked drive. And I understand that I will loose that functionality.. How should I deal with clearing out the junk from the join tables without the cascade delete ?
Juan C Rivera  @Reply  
            
4 years ago

Access Expert 2

Expert Level 2 talks about Orphan records.
Scott Axton  @Reply  
      
4 years ago
First check out Don't Delete Data.

In a multi user / split db environment, it is up to you to manage the records in other tables.
You are also probably going to run into issues with the global relationships window.  You will eventually find that you will have to delete some if not all of those relationships in order to make the split db work properly.
This is one of the reasons Richard shows you what it is but doesn't spend a ton of time maintaining it.

The Split Your Database video goes into some of this.
Chris Pardy OP  @Reply  
   
4 years ago
Ah ok, I guess splitting isn't an option in my case then since the join table relationships are fundamental to this solution. Thanks for the info.
Scott Axton  @Reply  
      
4 years ago
Chris on the contrary.  You can still do the same thing.  It's just that you need to take the reins a bit more and through your code, whether Macros or VBA, do the checking and manipulation yourself.
The benefits and I would go so far as to say the necessity, in some cases, of having your data base split far out weighs the cascade deletes.  Just the security of your data is far superior.  Splitting is non negotiable in my opinion if you have more than one person using the database.

One thing you might want to consider is actually NOT deleting the data in the first place.  Check out Richard's Don't Delete Data video for some insight on how to handle things better.
Scott Axton  @Reply  
      
4 years ago
I just reread your post about running this from a network and I officially will double down on the necessity of splitting your db.
Chris Pardy OP  @Reply  
   
4 years ago
Hi Scott thanks for the insight. I think what confused me is you said I would need to delete the relationships? I took this to mean my join tables would not function, which would render the solution useless. But I did a test split yesterday and everything still seemed to work.. I noticed the relationship badge became a mess but only visually, all the relationships still exist, and in the Back end file, all the cascading delete checks were still there.
Chris Pardy OP  @Reply  
   
4 years ago
Other side effect I noticed is some thing get pretty slow.. but that's probably because I use a lot of dlookups.

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

Next Unseen

 
 
What's This?

 

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 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 9/30/2026 5:04:02 AM. PLT: 1s