Validate() As Integer

Field object

Validates the field using FORMS’ internal validation routines. All the validation routines set up for the field are checked (format, checksum, etc.), but no other events are fired. Returns 0 if successful, non-zero if not.

The method always returns 0 if a validation is performed and FORMS changed the status of the field to Validation error. Thus, the appropriate way to use Validate is first to check if the return value is 0. If so, proceed checking the status and extended status of the field, the GetStatus and GetExtStatus methods.

The Field object