Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Msgsvc not displaying delete trigger message
Message
From
13/10/2001 14:08:11
 
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00567233
Message ID:
00568172
Views:
20
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform