怎样对水晶报表的没一页分别求和?假如在报表的字段资源管理器里用“运行总和字段”的方法,得到的和是所有的和,并不是没一页的和》
Please help?
1: 定义一个公式放在Page Header中,禁止它显示:
公式@reset
WhilePrintingRecords;
shared numbervar tot := 0
2: 放第二个公式在Detail节中,禁止它显示:
公式@accumulate:
WhilePrintingRecords;
shared numbervar tot := tot + {table.numberfield};
3: 放第三个公式在Page Footer中:
公式@showvalue:
WhilePrintingRecords;
Shared numbervar tot;
Tot
以前我问过这个问题,以上是我按照别人的方法进行解决的。。
这个是我提问的帖子。
http://expert.csdn.net/Expert/topic/1391/1391560.xml?temp=.3479273