Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I replace the default 'Trigger Failed' message ?
Message
 
À
04/02/1997 11:52:41
Alhad Marathe
Asm Consulting
Mumbai, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Groupes d'usagers
Divers
Thread ID:
00019231
Message ID:
00019298
Vues:
36
>When I seup database triggers for a table the default 'Trigger Failed' message is fired if the Trigger fails. How can I replace this message with my own message. If I call a function from the trigger to display the message, the default message still fires after my message.

The methods of Edward and Arnon can work very well. But, if you like the simpliest way to do that, you can change the wizstyle class.
I guess you are using the form wizard to create your own form. In your project page, you will find a class which is named wizstyle. Inside this wizstyle class lib, a class named txtbtns is storing the basic function of command buttons. Then, you open this class and check the property window of txtbtns command group(container), you will find out "UPDATEROWS" method. The first few lines "#DEFINE" are the error message you are looking for.

Sunny
Can you live without the earth?
Please remind that :
"Yung Hung" is my first name;
"Yeung" is my last/family name.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform