Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CheckRules and BisObj.Save
Message
 
À
23/02/2001 13:23:11
Rex Mahel
Realm Software, Llc
Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00478957
Message ID:
00479617
Vues:
34
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,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform