With the Valid attribute, the current state of the validation rules of the variable or a value of the variable can be queried.
Syntax | ||||
Valid([Value]) | ||||
Return value | ||||
enumValid | ||||
Parameter | ||||
Use |
Name |
Type |
Passing |
Description |
Optional |
Value |
Variant |
ByVal |
Value to check If this parameter is not given, the current value oft he variable will be checked. |
enumValid |
Description |
0 – enValid |
The validation state of the variable is valid. |
1 – enValidWarning |
The validation state of the variable is valid, but warnings are notified (reserved for later versions of TCE). |
2 – enInvalid |
The validation state of the variable is invalid. |