Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Referential Integrity Problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00740169
Message ID:
00748391
Vues:
25
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform