Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Difference between field and record validation
Message
 
 
To
17/04/2009 07:51:16
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01395230
Message ID:
01395252
Views:
70
>>What is the difference between field validation and record validation in the table designer?
>
>I find both of these problematic, and prefer to do all validation either (a) at the form level, or (b) when it is more important not to violate a certain rule, as table triggers.
>
>The problem, the way I see it, is that validation, especially at the field level - and to a lesser degree also at the record level - is done too early. For example, the user clicks "Tab" in a TextBox, and can't get out of the TextBox until a valid value is entered (not even to press a "Cancel" button on the same form!). I prefer to allow the user to input data in any order he desires, and postpone any validation for the moment he decides to save.

As a user I prefer feedback on incorrect data input to be as soon as possible, not after I have keyed in a number of other fields. As long as the field validation does an immediate check for the Esc key, bailing out if it was pressed, the user is not trapped in the field with no way out.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform