Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Msgsvc not displaying delete trigger message
Message
De
13/10/2001 14:08:11
 
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00567233
Message ID:
00568172
Vues:
21
Hola Víctor:

After several debugging sessions and checking out the Devguide, I have understood the next:

I’m deleting a record whose triggers fails for been linked to others.

The business object is handling the error, and returning the value FILE_ERRORHANDLER, the form’s “delete” method receives the returned value and issues ThisForm.DisplayBrokenRules(ThisForm.oBizObj).

It is the msgsvc program the one not showing the message. Its behavior now has changed in the way that if you send a string, the program will show the requested message (actually msgsvc.cOriginal) if the string passed is a key value “msgsvc.cKey”, otherwise does not show the passed string as it used to be. You can test this by issuing msgsvc('Anything here').

I’m thinking of adding a “do case” at my application super classes to do the same is being done at business object level to send the message through msgsvc by passing the cKey value instead of the cOrignial value. However there should be already there a way around I do not understand yet.

Regards

Oscar Corte
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform