内置提交校验使用公式示例一-http://help.finereport.com/doc-view-566.html 看这个 是一样的
.3 数据校验设置
选择模板>报表填报属性>数据校验,在校验公式内输入:B2==sql("FRDemo","select * from userinfo where username='"+$fr_username+"'",3),这里公式的含义是在userinfo表中查询用户名对应的密码,详细公式解释查看sql函数,在校验出错信息中输入:"密码与原始密码不同,不能修改!"如下图:
