Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Desktop Application: Validation?
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00474647
Message ID:
00474813
Views:
21
>...all you have to do is have the Valid() event of a control talk to the rules object and just call that one method. Then you have the interface validating data using the exact same code used by the business object.

I thought about this, but then you would be coupling your form and the bizrules object quite tightly.

I was toying with the idea of creating a method simmilar to CheckRules, but to which I would pass the name of the field I'm validating and it would take care of calling the right validation method.

Alex
Low-carb diet not working? Try the Low-food diet instead!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform