Click or drag to resize

FieldSpec.SetValidation Method

X#
Set a new validation rule for this field specification and new hyperlabel diagnostics for the validation rule check.

Namespace:  VO
Assembly:  VOSystemClasses (in VOSystemClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD SetValidation(
	cb,
	oHL
) AS USUAL CLIPPER
Request Example View Source

Parameters

cb (Optional)
Type: Usual
The new validation rule. If omitted, the current value is not changed.
oHL (Optional)
Type: Usual
The hyperlabel that contains the new diagnostics for the validation rule check (caption, description, and help context). If omitted, the current value is not changed.

Return Value

Type: Usual
See Also