Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CheckRules and BisObj.Save
Message
 
To
23/02/2001 13:23:11
Rex Mahel
Realm Software, Llc
Ohio, United States
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00478957
Message ID:
00479617
Views:
35
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform