Skip to content

Validate_Value - ValidationTable

Determines whether a value is valid or not (is listed in the validation table or not)

Type: Function
Return Data Type: Integer

Parameters

Parameter Type Description
sCode String the string to test to see if it exists in the list

Syntax

Function Validate_Value String sCode Returns Integer

Call Example

Get Validate_Value sCode to IntegerVariable

Description

The Validate_Value function determines whether a value is valid or not (is listed in the validation table or not). This function, received from DEOs, returns zero when value is found to be valid, and non-zero otherwise. You may augment it in this object. It is not sent when validate_state is set to False.

Return Value

Returns zero when value is found to be valid, and non-zero otherwise