Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BizRule notification
Message
De
22/11/1999 13:57:53
Rex Mahel
Realm Software, Llc
Ohio, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00293882
Message ID:
00294019
Vues:
40
Paul,

Thanks for your response.

I put a call in the BizObj to a custom method in the BizRules class to output all broken rules.

Either way, you will need to modify code in a framework class.

I think this code should be incorporated in the framework itself with the ability to override.

Just a thought

Rex

>>All,
>>
>>Where would you put code to inform the user that business rules have been violated?
>>
>>TIA
>>
>>Rex
>
> I'd put it in the same place as the call to the BizObj's Save() method. Right after calling Save(), check it's return value. If it's not zero, you know that it has failed. Now I'd make a call to some method that display's the business rules errors on a pop-up form.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform