Click or drag to resize

DataServer.FieldValidate Method

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.7
 VIRTUAL METHOD FieldValidate(
	nFieldPosition AS USUAL := NIL,
	uValue AS USUAL := NIL
Request Example View Source


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