Request_Validate_All - DataDictionary

Similar to Request_Validate, except that a validation will continue after a validation error has occurred

Type: Function

Return Data Type: Integer

Parameters: None

Return Value

If the return value is non-zero, a validation error occurs


Syntax
Function Request_Validate_All Returns Integer

Call: Get Request_Validate_All to IntegerVariable


Description

The Request_Validate_All procedure is similar to Request_Validate, except that a validation will continue after a validation error has occurred. If the return value is non-zero, a validation error occurred. This feature is useful for batch processing where you may wish to list all field validation errors.

If you use this feature you will want to change your error handler so that errors are logged and not reported as they occur.

The one exception to the validate-all process is the find-required validation. If a find-required field-validation fails, the remaining fields in the DataDictionary (DD) will not be processed. If a required record is not present there is no point in checking to see if the fields in the empty record are valid. Other fields in other files will still be checked.