PRB: Changes to Key Field in Parent Table Not Cascaded When Deleted Before Unlocking Record (277900)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 5.0a
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q277900 SYMPTOMS
When a key field in the parent table in a parent/child relationship is changed, the changes are not cascaded to the child table. If the record in the parent is deleted without first unlocking it, the corresponding records in the child table may be orphaned.
RESOLUTION
To work around this problem, unlock the record before you delete it. This causes the changes to be cascaded to the child table.
REFERENCES
(c) Microsoft Corporation 2000, All Rights Reserved. Contributions by Mark Barnard, Microsoft Corporation.
Modification Type: | Major | Last Reviewed: | 8/27/2002 |
---|
Keywords: | kbCodeSnippet kbDatabase kbDSupport kbprb KB277900 kbAudDeveloper |
---|
|