S
song2all
Unregistered / Unconfirmed
GUEST, unregistred user!
我有放了个dbgridEH 的表格,数据源为:SELECT hplbmc, hpgg,jldw,sum(sl) as hbsl,dj,sum(je) as hbjeFROM cgdj LEFT JOIN hpcgjhON cgdj.djbh=hpcgjh.djbh where cgdjhbno=cgdjhbno group by hplbmc,hpgg,jldw,sl,dj,je当我想要小计 hpsl和hbje时,表格有数据,但小计处还一直显示为0,无法统计小计。(SumList属性下的Active设为true 然后再设置Column的Footer属性的ValueType )这些都设置好了,没问题。但为什么一直显示0呢??