Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Better RI error messages
Message
De
22/02/1999 11:20:23
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00189815
Message ID:
00189983
Vues:
9
Hi Carl.

>I am getting frusturated by "Trigger failed" messages that don't tell me what the problem is.

It's actually pretty straightforward -- the trigger failed because (in the case of delete or update) it's found a record in a child table (or in a grandchild or somewhere else down the relationship tree) for the parent record and you've specified a restrict rule. A public array called gaErrors is created, and the 9th element of the first row has the name of the child table that the trigger failed on.

Doug
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform