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:
00474759
Views:
13
Alex, Paul,

Thanks for the replies!

Yes, I am talking about instant validation when you tab out of a field using the control's VALID() event. But I wouldn't want to replicate my business rule in the control. I just want that control to talk to the business object and validate just that control.

I'm fairly certain that the "Save" process calls the business object which calls the rules object and validates the business object's data.

Let's say I'm entering the Customer Name. My boss said that there is a rule that says that the Customer Name can't be EMPTY() and the name must be longer than 3 characters. When I tab out to move onto the next field, he wants a message right then and there that says "You can continue data entry, but you will be unable to save this record because...". Then when the user hits "Save", I know I'll get the usual/normal BizObj validation.

Is there a hook in the MM framework or an easy implementation to validate any field you the developer want validated?

Thanks for any insight!

Ed Lennon
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform