入门5_问题.cpt 我不想给数据字典单独创建一个查询数据集。我就想知道我用公式错在那里?习题5:参数联动下拉复选框单独数据查询绑定数据字典没问题。但用数据库表公式查询结果studentno不正确显示如下,但报表结果是对的?为什么?if(len($classno)=0,SQL("FRDemo","select STUDENTNO from stscore"),SQL("FRDemo","select STUDENTNO from stscore where classno='" + $classno + "'"))控件值:if(len($classno)=0,SQL("FRDemo","select studentno from stscore",1,1),SQL("FRDemo","select studentno from stscore where classno='" + $classno + "'",1,1))==========下面这个就正确:相同的控件值设置,数据字典用“数据查询”类型绑定单独设置的数据集就完全正常。数据字典绑定数据集为:SELECT * FROM STSCORE where 1=1 ${if(len(classno)=0,""," and classno='" + classno + "'")}==========求助想用第一种数据查询方式,错误如何解决?