我希望加一个校验就是新增的数据到a表中,新增的字段b的值不在a表的b字段值内,否则会报错,这个校验怎么写;
A2==sql("FRDemo","select * from 订单",1)
find(A2,sql("FRDemo","select 订单id from 订单",1))=0
参考密码校验-https://help.fanruan.com/finereport/doc-view-566.html