Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Referential Integrity Problem
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00740169
Message ID:
00748391
Views:
24
Hi Jeff.

>Any comment on what looks like an issue with 3 tier cascading deletes? I have cascading deletes on parent\child\grandchild tables. If a user-defined trigger on the grandchild fails, the child table is not deleted (thanks to your correction) but the parent table is.

My patch to the code generated by the RI Builder *and* ensuring that if your error handler fires instead of the RI's error handler, you set pnError to a non-zero value should prevent the parent record from being deleted.

>Ken just announced the RTM for VFP8 so I hope you're free to discuss the details of your correction(s) and any other improvements to the RI builder.

VFP 8's RI Builder has several improvements, including the correction of this issue.

Doug
Previous
Reply
Map
View

Click here to load this message in the networking platform