Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trigger Message
Message
 
À
02/05/2001 14:48:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00502472
Message ID:
00502686
Vues:
18
>>I am working with a legacy app that shows a "Trigger Failed" message when deleting a record from a table. Is there a way to replace this message with a better message like "Cannot delete this Team because it is being used by the Projects Table".??
>
>Yep, when you get an error 1539 in you error handler, you know that the trigger failed, so instead of doing your default error behavior, show your message like you want.

Ah, just trap for error 1539 and replace it with something more specific?

Tommy
Tommy Tillman A+ NetWork+ MCP
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform