用友华表CELL组件的用法,谁知道?
我想用用友华表的CELL组件做报表,使用下面的记录集,但是加入CELL中时,交易额全都显示为0
cell1.OpenRowset('select toaccount 商户帐号,sum(tranamt) 交易额 from trjn group by toaccount',3,0);
如果使用下面的记录集,则加入CELL里的结果是正确的
cell1.OpenRowset('select toaccount 商户帐号,tranamt 交易额 from trjn where toaccount=1100000',3,0);
难道不能使用sum或者count等函数吗?谁知道原因呀?