target.Validate
Description
Description
Determines whether a value is within the set parameters.
Syntax
Syntax
Function Validate(val, deflt, from, to)
Parameters
Parameters
val - value to be validated (required)
default - a default value to be outputted when tested value not within parameters (required)
from - a numeric, date, or string value to be checked (required)
to - a numeric, date, or string value to be checked (required)
Return value
Return value
Variant value - the original value if it passes through validation, or the "default" if not within the set parameters
See also