CAS 6


exist
- Summary

Summary

Deterimne if a value exists within the whole field. A 1 will be returned if any value in a comma separate list is found.

Examples

 exist DEFCODE 'A1'
 'Y/ ' exist EXCEPCODE 'D101,D102,D103'
'Yes/No' exist CODE 'C2'

Syntax

[ResultDesc] exist TextField SearchValues

Left Arguments

Name Data Type Input Type Description Optional Default
ResultDesc Text Constant Result if right arguemtn is found. 'YesResult/NoResult' Yes

Right Arguments

Name Data Type Input Type Description Optional Default
TextField Text Field Data No
SearchValues Text Constant Comma separated list of search values. No

Result

Type: Boolean

1=found, 0=not found (if left argument omitted)



Build 6.0.624