在fastReport中,為什麼count函數用不了?如何用Count統計.......(50分)

寻找

Unregistered / Unconfirmed
GUEST, unregistred user!
在fastReport中,為什麼count函數用不了?
我有一個boolean字段為a,
如何在fastReport中統計a=true的總記錄數?
 
要写代码,
if memoname then
begin
count...
end
 
在那里寫?
給個例子來吧!
 
不行的话,你只有手工统计喽
 
[COUNT(bandname)]
bandname不是frdbdataset名称
而是你的显示数据(例如主项数据)的band名,
你选中主数据band然后看打开对象浏览器(工具-工具栏-对象浏览器)
看一看NAME属性,或者看状态栏中这个主数据band的名称
对了就是它,bandname
 

Similar threads

S
回复
0
查看
3K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
2K
SUNSTONE的Delphi笔记
S
I
回复
0
查看
753
import
I
顶部