Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where to put the last save validation
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01248444
Message ID:
01248479
Views:
29
>Hi Dan
>
>>This check should be implemented as a business rule as discussed in the "Specifying and Creating Business Rules" in the Developer's Guide.
>
>Thanks for your response. But I must confess I am using CodeBook as my framework and MM being very similar I posted my question here. If I am to put this in the BO can you please let me know if it should be in BeforeSave() BeforeSaveValidation() or the AfterSave() methods and that too before or after the DODEFAULT().
>
>Please advise.

As far as I recall, MereMortals is a bit different in this regard. Usually you create validation methods in the business object and they are validated in CheckRules() method.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform