Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where to put the last save validation
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01248444
Message ID:
01248479
Vues:
38
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform