楼主:直接放弃关联数据集,在报表端用多源报表,单元格关联实现;
==============
其一:首先配置二个数据连接,分别连接A库和B库;
==
其二:
select * from A库.a表 left join B库.b表 on A表.uid= B表.uid where b表.fnumber like “模板参数”;
等效于
select * from A库.a表 inner join B库.b表 on A表.uid= B表.uid where b表.fnumber like “模板参数”;
==
其三:建立二个数据连接;
ds1:
select * from A库.a表
ds2:
select * from B表.uid where b表.fnumber like “模板参数”
==
其四:
用单元格关联实现最后结果;
---
用ds2数据集做主表,ds1关联(二个表《数据集》通过uid字段关联的思想);
---
简单多源报表-https://help.fanruan.com/finereport/doc-view-327.html
==
==============