INARRAY("A",array(ds1.select(字段)))
--------------------------------------------
INARRAY(co,array):返回co在数组array中的位置,如果co不在array中,则返回0.
示例:
String[]arr={"a","b","c","d"}那么INARRAY("b",arr)等于2.
if(INARRAY($costNum,value("ds1",1))>0,"存在","不存在")