Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BizRule notification
Message
 
À
22/11/1999 10:09:36
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:
00293973
Vues:
28
>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.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform