Click or drag to resize

DataServer.FieldValidate Method

X#
Perform all the validations defined to the FieldSpec of a field in this data server (for example, required, maximum and minimum digits, maximum and minimum value, validation rule) and return the result of the test.

Namespace:  VO
Assembly:  VOSystemClasses (in VOSystemClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD FieldValidate(
	nFieldPosition,
	uValue
) AS USUAL CLIPPER
Request Example View Source

Parameters

nFieldPosition (Optional)
Type: Usual
The name, number, or symbol representing the desired field.
uValue (Optional)
Type: Usual
The value that is to be validated. Its data type should be compatible with the data type of the specified field. If the type cannot be converted to the appropriate data type, it is considered to have failed validation.

Return Value

Type: Usual
FALSE if any of the validations fail; otherwise, TRUE.
See Also