我的方案是我正在处理水晶报告,主报告文档查看器包含许多子报告,
现在我的问题是
如何基于数据集列(数据库字段)抑制(隐藏)子报表,任何人都可以帮助我根据值编写表达式。
1) if database column value is "1" --> Show the sub report.
2) If database column value is "0" --> Hide the sub report.
答案 0 :(得分:1)
您可以在Surpress中编辑公式,然后输入此公式
IF {db_column} = 1 THEN false ELSE true