DDFieldValidate - cWebBaseDEO

Performs a DDO field validation for the data column bound to this DEO

Type: Function

Return Data Type: Integer

Parameters: None

Return Value


Syntax
Function DDFieldValidate Returns Integer

Call: Get DDFieldValidate to IntegerVariable


Description

DDFieldValidate performs a DataDictionary object (DDO) field validation for the data column bound to this data entry object (DEO) (data-binding is done with the Entry_Item command). It returns 0 if no error. If an error is encountered, a validation error may be displayed and a non-zero value returned. This message is sent by the OnValidate event.

You will not use this often. Normally, validation occurs automatically as needed - during forward keyboard navigation and before a save. If you wish to trigger a custom validation, you should probably send OnValidate. If you wish to create a custom validation rule, you should augment your DD class or DD object. If you wish to create a custom validation rule outside of your DDO, you should augment OnValidate.