Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CheckRules and BisObj.Save
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00478957
Message ID:
00479823
Vues:
29
>Rex,
>
>>Shouldn't the business object rules be checked after the PreSaveHook in the kBizObj class. If not, the business rules are run before the foreign key fields can be populated in the bizobj's primary view.>>
>
>That's a difficult call! It depends on what you're using the PreSaveHook method for...based on what you're doing in the method, you may not want the code in the PreSaveHook() to be executed *unless* the business rules are validated.
>
>I'm open to doing it either way...any input from you lurkers????
>
>Regards,

I like the business rules running before the PreSaveHook(). I can't give any concrete reasons why, but it just seems "right".
-Paul

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

Click here to load this message in the networking platform