请教个问题,药品结果有个ID号,我想实现下拉框(大和小)选小时显示id为1-10的结果,选大时显示id为11-20的结果。
if($cs='小',RANGE(1,10,1),RANGE(11,20,1))
https://help.fanruan.com/finereport/doc-view-4474.html 参考
可以参考这个
动态隐藏参数面板的控件
动态切换年月日查询报表 https://help.fanruan.com/finereport/doc-view-408.html
sql里面扩一列,1-10 值为小,11-20值为大,拿这个字段判断参数