Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I ??
Message
De
23/08/1999 14:59:22
 
 
À
23/08/1999 13:36:56
Bruce Covey
Home Depot Television
Atlanta, Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00256680
Message ID:
00256723
Vues:
25
>I know how to create my own UDF and place it in the DELETE TRIGGER for a table. It tests for child records and IF FOUND(), throws up a messagebox() w/ an OK button. However, when I RETURN .F. to the TRIGGER in order to prevent the delete, I still get the VFP generated messagebox() w/ "Trigger Failed". How can I return a false value yet suppress the VFP message ? Or, am I going about this all wrong ??
>Any help would be appreciated.

A failed trigger is still a VFP error. To suppress tehe VFP message, you need to catch with an error handler.
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform