We help IT Professionals succeed at work.

What is "Cascade Update Related Fields" and "Cascade Delete Related Records" options?

duta
duta asked
on
30,011 Views
1 Endorsement
Last Modified: 2016-06-19
Dear experts:

In MS access' Edit Relationships options, there are:
 (1) (by default) Enforce Referential Integerity
(2)  Cascade Update Related Fields
(3)  Cascade Delete Related Records" options

Would you kindly and in details explain (2) and (3) options?


Thanks a lot!
Comment
Watch Question

CERTIFIED EXPERT
Top Expert 2016

Commented:

After referential integrity is established, enabling Cascade Update Related Fields or Cascade Delete Related Records,  will save you quite a bit of code in maintaining the integrity of the data in your system. (Deleting records or updateing records as appropriate.)

If the table where you are deleting records has a relationship with another table and the Cascade Delete Related Records option for that relationship is set, records in the second table will also be deleted.

With Cascade Update Related Fields check update done from the first table is also done in the second table



CERTIFIED EXPERT
Top Expert 2016
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
capricorn1, thank you so much for your kind, prompt response.

I will take time to carefully read your kind tips, and will come back to you.

Thanks again!
CERTIFIED EXPERT
Top Expert 2016

Commented:
if you have a copy of Northwind database,  create another copy and do your experimenting (deleting and updating records) to be able to understand this easily.
Scott McDaniel (EE MVE )Infotrakker Software
CERTIFIED EXPERT
Most Valuable Expert 2012
Top Expert 2014
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
TO: LSMConsulting:

Thank you so much for your very valuable, kind tips.

I will keep your kind tips in mind.

Author

Commented:
TO: All:

Thank you so much for your expertly tips and advices.

Hope you may kindly come back again to help me out  soon!

duta
Scott McDaniel, Thanks for the clarification and sound advice. My mind is at rest now. :)

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.