如何用fastreport做以下格式的报表
我有三个表,分别是
select a.counterid 货架号,b.name,b.goodscode,
b.specification+'/'+b.packtype 规格,c.barcode 条码
from CounterGoods a,goods b,barcode c
where a.goodsid=b.goodsid and a.goodsid=c.goodsid and 货架号 not like '1%'
group by 货架号,b.name,b.goodscode,b.specification,b.packtype,c.barcode
order by 货架号
用以上语句查询,
我把货架号放在group header 里,
把“序号 商品编码 、 商品名称、 规格 、 条码”放在page header 里
把相应的数值放在master data里,
但是查询的时候发现同样的商品编码有不同的条码,我想作成以下格式(当有重复的商品编码时只显示不同的条码,不显示商品编码),现在是全部显示
请问还要怎么做
序号 商品编码 商品名称 规格 条码
1 210256 53度四套装茅台礼盒 /盒 6902952883776
6902952883785
6902952212635
2 2055284 53度二套装茅台礼盒 /盒 6902952883783
3 2072577 古井贡酒大礼盒50度800ml /盒 6901382642526