FineReport11.03版本
关联数据集 https://help.fanruan.com/finereport/doc-view-125.html
参考
把四个数据集都拖入到报表中
在根据选择的条件,利用条件属性,隐藏对应的行就行
单表的话,可以参考
参数查询数据库任一表--https://help.fanruan.com/finereport/doc-view-3024.html
----------------
这个也可以参考,准备不同的模版,然后根据参数跳转
根据参数查看不同的报表--https://help.fanruan.com/finereport/doc-view-407.html
https://help.fanruan.com/finereport/doc-view-3024.html
将公式里的ds1设置为对应的数据集名称