• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 11. Modifying Data with Action Q... > Testing Cascading Deletion and Updat...

Testing Cascading Deletion and Updating

When you delete a record in a primary or base table on which records in a related table depend, cascading deletion automatically deletes the dependent records. Similarly, if you modify the value of a table's primary-key field and a related table has records related by the primary-key field's value, cascading updating changes the value of the related foreign-key field for the related records to the new primary-key field value.

Cascading deletions and cascading updates are special types of action queries that the Jet engine executes for you. The following three sections show you how to use Access's cascading deletion and cascading updating features with a set of test tables copied from the Orders and Order Details tables of Northwind.mdb.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint