User's Guide


Validating data types

When the user enters data into a typed field, VisualAge checks for errors either after the field loses focus or on a keystroke-by-keystroke basis as the user types.

To have VisualAge check for errors keystroke-by-keystroke, set thenotifyChangeOnEachKeystroke property to true in the part's settings. Otherwise, set the reformatOnFocusChange property to true to validate the data after the user finishes entering data and moves on to a different part.

When an error is detected, VisualAge displays an error message (such as ** error **) in place of the incorrect value. When the user clicks on or tabs to the field to correct the error, the original value is displayed again, so it can easily be corrected.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]