DBGridEh怎么对各例进行汇总?谢谢 如题,谢谢,是否可以对某列进行自定义汇总?谢谢 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 http://www.delphibbs.com/keylife/iblog_show.asp?xid=5161DBGRIDEH 组件在Borland开发工具中应用全攻略 【陈文彬】 参考 http://www.delphibbs.com/keylife/iblog_show.asp?xid=5161 DBGRIDEH 组件在Borland开发工具中应用全攻略 【陈文彬】 DBGRIDEH1.SumList.Active:=true; DBGRIDEH1.FooterRowCount:=1; DBGridEh2.Columns[0].Footer.ValueType := fvtStaticText; DBGridEh2.Columns[0].Footer.Value := '合计:'; DBGridEh2.Columns[3].Footer.ValueType := fvtsum; //fvtSum DBGridEh2.Columns[4].Footer.ValueType := fvtsum; TNumericField(query1.FieldByName('平均回复时延(s)')).DisplayFormat:='0'; DBGridEh2.Columns[5].Footer.ValueType := fvtsum; 双击DBGridEh,添加字段。设置字段的foot属性(单击左边的加号) 当然要先设置FooterRowCount属性 如何取得memo最后的字符 祝父亲生日快乐 怎么检查某个程序是否在进程里。 Chart的问题 加减乘除 喜欢一个女孩子,可是遇到了困难。 过新年了,散分,先来者先得 设置及获得系统音量的方法VOLUME或WAVE 删除字段名的问题,请进来看看! 如何捕获Edit和ComboBox里的文字? 请问可以在dll中调用另一个dll吗? 使用fastreport,如何将报表导出至excel?
DBGRIDEH 组件在Borland开发工具中应用全攻略 【陈文彬】
http://www.delphibbs.com/keylife/iblog_show.asp?xid=5161
DBGRIDEH 组件在Borland开发工具中应用全攻略 【陈文彬】 DBGRIDEH1.SumList.Active:=true;
DBGRIDEH1.FooterRowCount:=1;
DBGridEh2.Columns[0].Footer.ValueType := fvtStaticText;
DBGridEh2.Columns[0].Footer.Value := '合计:';
DBGridEh2.Columns[3].Footer.ValueType := fvtsum; //fvtSum
DBGridEh2.Columns[4].Footer.ValueType := fvtsum;
TNumericField(query1.FieldByName('平均回复时延(s)')).DisplayFormat:='0';
DBGridEh2.Columns[5].Footer.ValueType := fvtsum;